1#version 460 2#extension GL_NV_ray_tracing : enable 3layout(binding = 0, set = 0) uniform accelerationStructureNV accNV; 4layout(location = 0) rayPayloadNV vec4 localPayload; 5layout(location = 1) rayPayloadInNV vec4 incomingPayload; 6void main() 7{ 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); 16} 17