blob: 7339682520228e1f955a0b60eed73db04d189c55 [file] [log] [blame]
Ashwin Leleff1783d2018-10-22 16:41:44 -07001#version 460
2#extension GL_NV_ray_tracing : enable
3hitAttributeNV vec4 hitattr; // ERROR, hitattributeNV unsupported in this stage
4rayPayloadNV vec4 payload; // ERROR, rayPayloadNV unsupported in this stage
5rayPayloadInNV vec4 payloadIn; // ERROR, rayPayloadInNV unsupported in this stage
6
7void 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 reportIntersectionNV(1.0, 1U); // ERROR, unsupported builtin in stage
23 ignoreIntersectionNV(); // ERROR, unsupported builtin in stage
24 terminateRayNV(); // ERROR, unsupported builtin in stage
25}