diff options
| author | Yong He <yonghe@outlook.com> | 2025-01-10 13:34:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-10 13:34:54 -0800 |
| commit | a985e240a6d9edb1545e357d20805bf81fba975a (patch) | |
| tree | 7e52a9c60c364f1d00b6e6ce2d3b6f211c2ebbfc /tests/reflection | |
| parent | 4104aa7f95e0d29e877be5208031e2670fb5a77d (diff) | |
Fix CUDA reflection for acceleration structure handle size. (#6055)
Diffstat (limited to 'tests/reflection')
| -rw-r--r-- | tests/reflection/acceleration-structure.slang | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/reflection/acceleration-structure.slang b/tests/reflection/acceleration-structure.slang new file mode 100644 index 000000000..cfb7d232b --- /dev/null +++ b/tests/reflection/acceleration-structure.slang @@ -0,0 +1,8 @@ +//TEST(64-bit):REFLECTION(filecheck=CHECK): -target cuda + +// CHECK: "binding": {"kind": "uniform", "offset": 0, "size": 8}, +uniform RaytracingAccelerationStructure accel; + +[numthreads(1,1,1)] +void main() +{}
\ No newline at end of file |
