2 #extension GL_NV_ray_tracing : enable
3 layout(binding = 0, set = 0) uniform accelerationStructureNV accNV;
4 layout(location = 0) rayPayloadNV vec4 payload;
5 layout(shaderRecordNV) buffer block
12 uint lx = gl_LaunchIDNV.x;
13 uint ly = gl_LaunchIDNV.y;
14 uint sx = gl_LaunchSizeNV.x;
15 uint sy = gl_LaunchSizeNV.y;
16 traceNV(accNV, lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1);