yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Yong HeAdd `ReportIntersectionOptix` for optix. (#4949)7893b4534

master
193 B9 linesraw
1//TEST:SIMPLE(filecheck=CHECK): -target cuda
2
3// CHECK: optixReportIntersection(3.0f, 2U, int(1), int(2), int(3))
4
5[shader("intersection")]
6void test()
7{
8    ReportHitOptix(3.0f, 2, 1, 2, 3);
9}