mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
14 lines
466 B
Plaintext
14 lines
466 B
Plaintext
#version 460
|
|
#extension GL_EXT_ray_tracing : enable
|
|
#extension GL_NV_ray_tracing_motion_blur : enable
|
|
layout(binding = 0, set = 0) uniform accelerationStructureEXT accEXT;
|
|
layout(location = 0) rayPayloadEXT vec4 payloadEXT;
|
|
void main()
|
|
{
|
|
uint lx = gl_LaunchIDEXT.x;
|
|
uint ly = gl_LaunchIDEXT.y;
|
|
uint sx = gl_LaunchSizeEXT.x;
|
|
uint sy = gl_LaunchSizeEXT.y;
|
|
traceRayMotionNV(accEXT, lx, ly, sx, sy, 0u, vec3(0.5), 0.5f, vec3(1.0), 0.75f, 0.5, 0);
|
|
}
|