glslang/Test/spv.IntersectShader_Errors.rint

12 lines
612 B
Plaintext
Raw Permalink Normal View History

2018-09-19 18:42:24 +00:00
#version 460
#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()
{
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
}