SPIRV-Cross/reference/shaders/vulkan/rgen/launch_id.nocompat.vk.rgen.vk
2020-05-20 14:11:28 +02:00

11 lines
194 B
Plaintext

#version 460
#extension GL_NV_ray_tracing : require
layout(set = 0, binding = 0) uniform writeonly image2D uImage;
void main()
{
imageStore(uImage, ivec2(gl_LaunchIDNV.xy), vec4(1.0));
}