1#version 460
2#extension GL_NV_ray_tracing : enable
3layout(binding = 0, set = 0) uniform accelerationStructureNV accNV;
4layout(location = 0) rayPayloadNV vec4 payload;
5layout(shaderRecordNV) buffer block
6{
7	float arr[4];
8	vec4 pad;
9};
10void main()
11{
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, vec3(0.0f), 0.5f, vec3(1.0f), 0.75f, 1);
17    arr[3] = 1.0f;
18    pad = payload;
19}
20