Add support for primitive culling layout qualifier. (#2220)
authoralelenv <40001162+alelenv@users.noreply.github.com>
Thu, 21 May 2020 11:38:41 +0000 (04:38 -0700)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 11:38:41 +0000 (05:38 -0600)
commit59216d5cd87eee78dc979e30645c4c2240a7c351
treece11b7ee5da7c10cd783a6d00cc2bac31ee42754
parenteba1389a01f7d1935773c432522f4481caf568aa
Add support for primitive culling layout qualifier. (#2220)

* Add support for primitive culling layout qualifier.

* Add error checks for primitive flags and negative test.
SPIRV/GlslangToSpv.cpp
Test/baseResults/spv.ext.RayPrimCull_Errors.rgen.out [new file with mode: 0644]
Test/rayQuery-allOps.comp
Test/spv.ext.RayGenShader.rgen
Test/spv.ext.RayPrimCull_Errors.rgen [new file with mode: 0644]
glslang/Include/Types.h
glslang/MachineIndependent/ParseHelper.cpp
glslang/MachineIndependent/localintermediate.h
gtests/Spv.FromFile.cpp