summaryrefslogtreecommitdiffstats
path: root/tests/reflection/attribute.slang
diff options
context:
space:
mode:
authorYong He <yonghe@google.com>2019-01-29 13:35:23 -0800
committerYong He <yonghe@google.com>2019-01-29 13:35:23 -0800
commitc1761283e7bb6b5cfcedf910e76fd4f939395b1d (patch)
tree40bcf976326a303373d53dae0ff11ef6a5518b3e /tests/reflection/attribute.slang
parentd222889d19ff57eda999269d22da6915daedc839 (diff)
Add underscores to `AttributeUsage` to signal its preview state.
Diffstat (limited to 'tests/reflection/attribute.slang')
-rw-r--r--tests/reflection/attribute.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reflection/attribute.slang b/tests/reflection/attribute.slang
index a3cda4f4b..687148add 100644
--- a/tests/reflection/attribute.slang
+++ b/tests/reflection/attribute.slang
@@ -4,13 +4,13 @@
//TEST:REFLECTION:-stage compute -entry main -target hlsl
-[AttributeUsage(AttributeTargets.Struct)]
+[__AttributeUsage(_AttributeTargets.Struct)]
struct MyStructAttribute
{
int iParam;
float fParam;
};
-[AttributeUsage(AttributeTargets.Var)]
+[__AttributeUsage(_AttributeTargets.Var)]
struct DefaultValueAttribute
{
int iParam;