2018-09-19 18:42:24 +00:00
|
|
|
#version 460
|
2018-10-22 23:41:44 +00:00
|
|
|
#extension GL_NV_ray_tracing : enable
|
|
|
|
rayPayloadInNV vec4 payloadIn; // ERROR, rayPayloadIn unsupported in this stage
|
|
|
|
rayPayloadNV vec4 payload; // ERROR, rayPayload unsuppoted in this stage
|
|
|
|
uniform accelerationStructureNV accNV;
|
2018-09-19 18:42:24 +00:00
|
|
|
void main()
|
|
|
|
{
|
2018-10-22 23:41:44 +00:00
|
|
|
float e12 = gl_HitTNV; // ERROR, unsupported builtin in stage
|
|
|
|
float e13 = gl_HitKindNV; // ERROR, unsupported builtin in stage
|
|
|
|
traceNV(accNV, 0, 0, 1, 1, 0, vec3(0.0f), 0.5f, vec3(1.0f), 0.75f, 0); // ERROR, unsupported
|
2018-09-19 18:42:24 +00:00
|
|
|
}
|