10 lines
147 B
GLSL
10 lines
147 B
GLSL
#version 460
|
|
#extension GL_NV_ray_tracing : require
|
|
|
|
layout(location = 0) rayPayloadInNV uint payload;
|
|
|
|
void main()
|
|
{
|
|
payload = gl_PrimitiveID;
|
|
}
|