Closed danginsburg closed 2 weeks ago
Why was this filed against glslang instead of spirv-tools?
Hah, sorry, I had two tabs up because I had been looking at an old related issue and filed it on the wrong repo (issue: https://github.com/KhronosGroup/glslang/issues/2877)
With the SPIR-V shader attached to this bug, running spirv-opt with a loop unroll pass generated invalid spir-v:
Produces a shader that fails spirv-val:
test.zip