summaryrefslogtreecommitdiffstats
path: root/tests/reflection/attribute.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/attribute.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/attribute.slang')
-rw-r--r--tests/reflection/attribute.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reflection/attribute.slang b/tests/reflection/attribute.slang
index 687148add..41179fcf5 100644
--- a/tests/reflection/attribute.slang
+++ b/tests/reflection/attribute.slang
@@ -2,7 +2,7 @@
// Tests reflection of user defined attributes.
-//TEST:REFLECTION:-stage compute -entry main -target hlsl
+//TEST:REFLECTION:-stage compute -entry main -target hlsl -no-codegen
[__AttributeUsage(_AttributeTargets.Struct)]
struct MyStructAttribute