Merge pull request #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git] / Test / spv.ext.MissShader_Errors.rmiss
1 #version 460
2 #extension GL_EXT_ray_tracing : enable
3 hitAttributeEXT vec4 payload;                               // ERROR, hitattributeEXT unsupported in this stage 
4 void main()
5 {
6     int e0 = gl_PrimitiveID;                               // ERROR, unsupported builtin in stage
7     int e1 = gl_InstanceID;                                // ERROR, unsupported builtin in stage
8     int e3 = gl_InstanceCustomIndexEXT;                     // ERROR, unsupported builtin in stage
9     mat4x3 e10 = gl_ObjectToWorldEXT;                       // ERROR, unsupported builtin in stage
10     mat4x3 e11 = gl_WorldToObjectEXT;                       // ERROR, unsupported builtin in stage
11     float e12 = gl_HitTEXT;                                 // ERROR, unsupported builtin in stage
12     float e13 = gl_HitKindEXT;                              // ERROR, unsupported builtin in stage
13     reportIntersectionEXT(1.0, 1U);                         // ERROR, unsupported builtin in stage
14     ignoreIntersectionEXT;                                  // ERROR, unsupported in stage
15     terminateRayEXT;                                        // ERROR, unsupported in stage
16 }