KhronosGroup / glslang

Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.
Other
2.9k stars 816 forks source link

glslang must really warn when using uninitialized variables #3576

Open elmar-k opened 2 months ago

elmar-k commented 2 months ago

Dear all,

I can't find a way to make glslang warn when a variable is used uninitialized in a shader. Such trivially detectable bugs cause very complex shader misbehavior, and I just lost another two days hunting one down. I'm happy to fund a glslang expert to add this feature, please get in touch with a price estimate ;-)

Best regards, Elmar