Created attachment 139548 [details] vkrunner file hello, I get an error with both radv and intel SPIR-V parsing FAILED: In file ../src/compiler/spirv/vtn_cfg.c:381 block->node.link.next == NULL 0 bytes into the SPIR-V binary when using this hlsl shader (compiled with glslang): float4 main(float4 fragCoord : SV_POSITION) : SV_Target0 { float4 Sum = 0; for (int i=0; i<2; i++) { for (int j=0; j<2; j++) { Sum += fragCoord; } } return Sum / 4; } (the spirv source file is attached.) This report is a follow-up to https://github.com/KhronosGroup/SPIRV-Tools/issues/1456 "The outer loop's continue block ends up as the same block as the inner loop's continue block. I wonder if the Mesa compiler doesn't expect this (assuming there are no other bugs)."
Should be fixed with https://cgit.freedesktop.org/mesa/mesa/commit/?id=6bde8c560877512852ff49fafa296eb71a5ec14b
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.