Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git] / Test / spv.MissShader_Errors.rmiss
1 #version 460
2 #extension GL_NV_ray_tracing : enable
3 hitAttributeNV vec4 payload;                               // ERROR, hitattributeNV 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_InstanceCustomIndexNV;                     // ERROR, unsupported builtin in stage
9     mat4x3 e10 = gl_ObjectToWorldNV;                       // ERROR, unsupported builtin in stage
10     mat4x3 e11 = gl_WorldToObjectNV;                       // ERROR, unsupported builtin in stage
11     float e12 = gl_HitTNV;                                 // ERROR, unsupported builtin in stage
12     float e13 = gl_HitKindNV;                              // ERROR, unsupported builtin in stage
13     reportIntersectionNV(1.0, 1U);                         // ERROR, unsupported builtin in stage
14     ignoreIntersectionNV();                                // ERROR, unsupported builtin in stage
15     terminateRayNV();                                      // ERROR, unsupported builtin in stage
16 }