summaryrefslogtreecommitdiffstats
path: root/tests/cuda/report-hit.slang
blob: 12b6d8c4bf2723fc2a5f3d54a64eadc66b350996 (plain)
1
2
3
4
5
6
7
8
9
//TEST:SIMPLE(filecheck=CHECK): -target cuda

// CHECK: optixReportIntersection(3.0f, 2U, int(1), int(2), int(3))

[shader("intersection")]
void test()
{
    ReportHitOptix(3.0f, 2, 1, 2, 3);
}