• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 460
2#extension GL_EXT_ray_tracing : enable
3hitAttributeEXT vec4 payload;                               // ERROR, hitattributeEXT unsupported in this stage
4void 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 builtin in stage
15    terminateRayEXT();                                      // ERROR, unsupported builtin in stage
16}
17