GLSL: Make gl_Layer and gl_ViewportIndex always be outside blocks.
There was some ambiguity/contradiction in this behavior, and Khronos decided glslang should always have these outside blocks, rather than have stage/vendor/target variations.
Showing
- SPIRV/GlslangToSpv.cpp 12 additions, 23 deletionsSPIRV/GlslangToSpv.cpp
- Test/baseResults/spv.stereoViewRendering.tesc.out 51 additions, 48 deletionsTest/baseResults/spv.stereoViewRendering.tesc.out
- Test/baseResults/spv.viewportArray2.tesc.out 19 additions, 18 deletionsTest/baseResults/spv.viewportArray2.tesc.out
- Test/spv.stereoViewRendering.tesc 2 additions, 1 deletionTest/spv.stereoViewRendering.tesc
- Test/spv.viewportArray2.tesc 4 additions, 4 deletionsTest/spv.viewportArray2.tesc
- glslang/MachineIndependent/Initialize.cpp 16 additions, 13 deletionsglslang/MachineIndependent/Initialize.cpp
- glslang/MachineIndependent/ParseHelper.cpp 0 additions, 8 deletionsglslang/MachineIndependent/ParseHelper.cpp
Loading
Please register or sign in to comment