diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/diagnostics/attribute-error.slang | 4 | ||||
| -rw-r--r-- | tests/reflection/attribute.slang | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/diagnostics/attribute-error.slang b/tests/diagnostics/attribute-error.slang index 472593f3b..b913d3d4a 100644 --- a/tests/diagnostics/attribute-error.slang +++ b/tests/diagnostics/attribute-error.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; 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; |
