Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git] / Test / spv.ext.IntersectShader_Errors.rint
1 #version 460
2 #extension GL_EXT_ray_tracing : enable
3 rayPayloadInEXT vec4 payloadIn;                             // ERROR, rayPayloadIn unsupported in this stage
4 rayPayloadEXT vec4 payload;                                 // ERROR, rayPayload unsuppoted in this stage
5 uniform accelerationStructureEXT accEXT;
6 void main()
7 {
8     float e12 = gl_HitTEXT;                                 // ERROR, unsupported builtin in stage
9     float e13 = gl_HitKindEXT;                              // ERROR, unsupported builtin in stage
10     traceRayEXT(accEXT, 0, 0, 1, 1, 0, vec3(0.0f), 0.5f, vec3(1.0f), 0.75f, 0); // ERROR, unsupported
11 }