SPIRV-Cross/shaders/vulkan/rint/report-intersection.khr.spv14.nocompat.vk.rint
Hans-Kristian Arntzen 2097c30985 GLSL: Support both SPV_KHR_ray_tracing and NV_ray_tracing.
Fairly minor differences, so can keep them side by side without too much
effort. NV support is effectively deprecated now however.

- Add OpConvertUToAccelerationStructureKHR
- Ignore/Terminate ray is now a terminator in KHR, but a call in NV.
- Fix some bugs with reportIntersection.
2021-01-08 14:59:04 +01:00

13 lines
135 B
Plaintext

#version 460
#extension GL_EXT_ray_tracing : require
void in_func()
{
reportIntersectionEXT(0.5, 10);
}
void main()
{
in_func();
}