diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/cuda/report-hit.slang | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/cuda/report-hit.slang b/tests/cuda/report-hit.slang new file mode 100644 index 000000000..12b6d8c4b --- /dev/null +++ b/tests/cuda/report-hit.slang @@ -0,0 +1,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); +}
\ No newline at end of file |
