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

11 lines
158 B
Plaintext

#version 460
#extension GL_NV_ray_tracing : require
layout(location = 0) rayPayloadInNV uint payload;
void main()
{
payload = gl_IncomingRayFlagsNV;
}