[Mesa-dev] [Bug 106915] [GLSL] Unused arrays declared without a size should be handled like arrays of size 1.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 16 04:32:56 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106915

--- Comment #5 from Jason Ekstrand <jason at jlekstrand.net> ---
(In reply to Ian Romanick from comment #4)
> I don't think this text has anything to do with this bug.  s[] is not
> declared an explicit size.

Exactly.  My point is that the spec seems to explicitly allow for implicitly
sized arrays (as opposed variable-length arrays at the end of the block).  I'm
not sure that actually means anything but I wouldn't be surprised if someone
argues that it's intended.  That said, I really hope we can get it disallowed
because it's utterly insane at least for explicit buffer layouts.  (I could see
an argument in favor if the SSBO is implicitly laid out.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180616/d93bd202/attachment.html>


More information about the mesa-dev mailing list