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

Branch out of relaxed rules on opaque arguments declared at top-level #3558

Closed sbourasse closed 3 months ago

sbourasse commented 3 months ago

This change is introduced in an attempt to fix issue #3536.

Even though top-level opaque type variables are semantically valid under Vulkan semantics, previous versions would mistakenly move them around, resulting in unnecessary complex binaries.

bjornbytes commented 3 months ago

I can confirm that this fixes #3526!