diff options
Diffstat (limited to 'tests/parser')
| -rw-r--r-- | tests/parser/cast-precedence.hlsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/parser/cast-precedence.hlsl b/tests/parser/cast-precedence.hlsl index d5d0b0322..33cb5983c 100644 --- a/tests/parser/cast-precedence.hlsl +++ b/tests/parser/cast-precedence.hlsl @@ -3,6 +3,13 @@ // Confirm that type-cast expressions parse with // the appropriate precedence. +#ifndef __SLANG__ +#define C _SV022SLANG_parameterGroup_C +#define a _SV022SLANG_ParameterGroup_C1a +#define b _SV022SLANG_ParameterGroup_C1b +#define SV_Position SV_POSITION +#endif + cbuffer C : register(b0) { float a; |
