SPIRV-Cross/shaders-reflection/rgen/acceleration_structure.vk.rgen

10 lines
212 B
Plaintext

#version 460
#extension GL_NV_ray_tracing : require
layout(set = 0, binding = 1) uniform accelerationStructureNV as;
void main()
{
traceNV(as, 0u, 255u, 0u, 1u, 0u, vec3(0.0), 0.0, vec3(1.0), 1000.0, 0);
}