glslang/Test/spv.ext.RayPrimCull_Errors.rgen
alelenv 59216d5cd8
Add support for primitive culling layout qualifier. (#2220)
* Add support for primitive culling layout qualifier.

* Add error checks for primitive flags and negative test.
2020-05-21 05:38:41 -06:00

11 lines
333 B
Plaintext

#version 460
#extension GL_EXT_ray_tracing : enable
layout(primitive_culling);
#extension GL_EXT_ray_flags_primitive_culling : enable
layout(primitive_culling) uniform;
layout(primitive_culling, binding = 2) uniform accelerationStructureEXT as;
layout(std140, binding = 2, primitive_culling) buffer block { int x; };
void main()
{
}