2 #extension GL_EXT_ray_tracing : enable
3 #extension GL_ARB_gpu_shader_int64 : enable
4 layout(location = 1) rayPayloadEXT vec4 payload;
5 layout(shaderRecordEXT, std430) buffer block
21 uint lx = gl_LaunchIDEXT.x;
22 uint ly = gl_LaunchIDEXT.y;
23 uint sx = gl_LaunchSizeEXT.x;
24 uint sy = gl_LaunchSizeEXT.y;
25 traceRayEXT(accelerationStructureEXT(aHandle32), lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1);
26 traceRayEXT(accelerationStructureEXT(aHandle64), lx, ly, sx, sy, 0u, origin, 0.5f, dir, 0.75f, 1);