2 #extension GL_NV_ray_tracing : enable
3 layout(binding = 0, set = 0) uniform accelerationStructureNV accNV;
4 layout(location = 0) rayPayloadNV vec4 localPayload;
5 layout(location = 1) rayPayloadInNV vec4 incomingPayload;
8 uvec3 v0 = gl_LaunchIDNV;
9 uvec3 v1 = gl_LaunchSizeNV;
10 vec3 v2 = gl_WorldRayOriginNV;
11 vec3 v3 = gl_WorldRayDirectionNV;
12 uint v4 = gl_IncomingRayFlagsNV;
13 float v6 = gl_RayTminNV;
14 float v7 = gl_RayTmaxNV;
15 traceNV(accNV, 0u, 1u, 2u, 3u, 0u, vec3(0.5f), 0.5f, vec3(1.0f), 0.75f, 1);