[Mesa-dev] [PATCH v2 2/2] glsl: raise warning when using uninitialized variables

Kenneth Graunke kenneth at whitecape.org
Wed Mar 30 04:16:15 UTC 2016


On Tuesday, March 29, 2016 5:09:37 PM PDT Ilia Mirkin wrote:
> This is triggering for gl_GlobalInvocationID :( I think it's because
> of how the variable is computed -- a lowering pass after compilation
> is added to initialize it IIRC. Perhaps this should try to ignore
> global variables?

I was just looking at that today...adding an ordinary global variable
in builtin_variables.cpp seems really wrong.

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160329/30e552fe/attachment.sig>


More information about the mesa-dev mailing list