Add support for primitive culling layout qualifier. (#2220)
* Add support for primitive culling layout qualifier. * Add error checks for primitive flags and negative test.
This commit is contained in:
parent
eba1389a01
commit
59216d5cd8
9 changed files with 50 additions and 2 deletions
9
Test/baseResults/spv.ext.RayPrimCull_Errors.rgen.out
Normal file
9
Test/baseResults/spv.ext.RayPrimCull_Errors.rgen.out
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
spv.ext.RayPrimCull_Errors.rgen
|
||||
ERROR: 0:3: 'primitive culling' : required extension not requested: GL_EXT_ray_flags_primitive_culling
|
||||
ERROR: 0:5: 'primitive_culling' : layout qualifier can not have storage qualifiers
|
||||
ERROR: 0:6: 'primitive_culling' : can only be applied as standalone
|
||||
ERROR: 0:7: 'primitive_culling' : can only be applied as standalone
|
||||
ERROR: 4 compilation errors. No code generated.
|
||||
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
Loading…
Add table
Add a link
Reference in a new issue