SPIRV-Cross/reference/shaders/vulkan/rchit/incoming_ray_flags.nocompat.vk.rchit.vk

11 lines
158 B
Plaintext
Raw Normal View History

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