summaryrefslogtreecommitdiffstats
path: root/tests/reflection/buffer-layout.slang
diff options
context:
space:
mode:
authorAlexey Panteleev <alpanteleev@nvidia.com>2022-05-18 10:57:37 -0700
committerGitHub <noreply@github.com>2022-05-18 10:57:37 -0700
commit69cb6e8f300d77e74bd2c7dfe15d12e10b38f512 (patch)
treec2d23f2883acb28407106a096b55c64111f098b1 /tests/reflection/buffer-layout.slang
parent1148564b9cdbbc8fec4fbecf65b0af60aa6af344 (diff)
Support for querying which parameters are used in emitted code (#2239)
See https://github.com/shader-slang/slang/issues/2213
Diffstat (limited to 'tests/reflection/buffer-layout.slang')
-rw-r--r--tests/reflection/buffer-layout.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reflection/buffer-layout.slang b/tests/reflection/buffer-layout.slang
index 51b9680d1..b2cc3f724 100644
--- a/tests/reflection/buffer-layout.slang
+++ b/tests/reflection/buffer-layout.slang
@@ -4,8 +4,8 @@
// to confirm that our reflection logic correctly reports the offsets
// that the compute test sees in practice.
-//TEST:REFLECTION:-stage compute -entry main -target hlsl
-//TEST:REFLECTION:-stage compute -entry main -target spirv
+//TEST:REFLECTION:-stage compute -entry main -target hlsl -no-codegen
+//TEST:REFLECTION:-stage compute -entry main -target spirv -no-codegen
struct A
{