summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/reflection/acceleration-structure.slang8
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