Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git] / Test / spv.RayCallable_Errors.rcall
1 #version 460
2 #extension GL_NV_ray_tracing : enable
3 hitAttributeNV vec4 hitattr;                                // ERROR, hitattributeNV unsupported in this stage 
4 rayPayloadNV vec4 payload;                                  // ERROR, rayPayloadNV unsupported in this stage
5 rayPayloadInNV vec4 payloadIn;                              // ERROR, rayPayloadInNV unsupported in this stage
6
7 void main()
8 {
9     int e0 = gl_PrimitiveID;                                // ERROR, unsupported builtin in stage
10     int e1 = gl_InstanceID;                                 // ERROR, unsupported builtin in stage
11     int e3 = gl_InstanceCustomIndexNV;                      // ERROR, unsupported builtin in stage
12     vec3 e4 = gl_WorldRayOriginNV;                          // ERROR, unsupported builtin in stage
13     vec3 e5 = gl_WorldRayDirectionNV;                       // ERROR, unsupported builtin in stage
14     vec3 e6 = gl_ObjectRayOriginNV;                         // ERROR, unsupported builtin in stage
15     vec3 e7 = gl_ObjectRayDirectionNV;                      // ERROR, unsupported builtin in stage
16     float e8 = gl_RayTminNV;                                // ERROR, unsupported builtin in stage
17     float e9 = gl_RayTmaxNV;                                // ERROR, unsupported builtin in stage
18     mat4x3 e10 = gl_ObjectToWorldNV;                        // ERROR, unsupported builtin in stage
19     mat4x3 e11 = gl_WorldToObjectNV;                        // ERROR, unsupported builtin in stage
20     float e12 = gl_HitTNV;                                  // ERROR, unsupported builtin in stage
21     float e13 = gl_HitKindNV;                               // ERROR, unsupported builtin in stage
22     uint curFlags = gl_IncomingRayFlagsNV;                  // ERROR, unsupported builtin in stage
23     reportIntersectionNV(1.0, 1U);                          // ERROR, unsupported builtin in stage
24     ignoreIntersectionNV();                                 // ERROR, unsupported builtin in stage
25     terminateRayNV();                                       // ERROR, unsupported builtin in stage
26 }