diff options
| author | Yong He <yonghe@outlook.com> | 2024-08-28 22:27:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-28 22:27:23 -0700 |
| commit | 7893b4534a1034a001fd7670f3a2ad6d1db66bad (patch) | |
| tree | cd69a185a12bba9f8f9f96ad204745758557a2b6 /tests/cuda | |
| parent | 69e0f878e02d61280110b379f9d346acde7575a8 (diff) | |
Add `ReportIntersectionOptix` for optix. (#4949)
Diffstat (limited to 'tests/cuda')
| -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 |
