From c1761283e7bb6b5cfcedf910e76fd4f939395b1d Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 29 Jan 2019 13:35:23 -0800 Subject: Add underscores to `AttributeUsage` to signal its preview state. --- tests/reflection/attribute.slang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/reflection') 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; -- cgit v1.2.3