From a985e240a6d9edb1545e357d20805bf81fba975a Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 10 Jan 2025 13:34:54 -0800 Subject: Fix CUDA reflection for acceleration structure handle size. (#6055) --- tests/reflection/acceleration-structure.slang | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/reflection/acceleration-structure.slang (limited to 'tests/reflection') 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 -- cgit v1.2.3