• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 460
2#extension GL_EXT_ray_tracing : enable
3rayPayloadInEXT vec4 payloadIn;                             // ERROR, rayPayloadIn unsupported in this stage
4rayPayloadEXT vec4 payload;                                 // ERROR, rayPayload unsuppoted in this stage
5uniform accelerationStructureEXT accEXT;
6void 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}
12