diff options
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/gh-103.slang | 6 | ||||
| -rw-r--r-- | tests/bugs/gh-333.slang | 14 | ||||
| -rw-r--r-- | tests/bugs/split-nested-types.hlsl | 18 | ||||
| -rw-r--r-- | tests/bugs/vec-init-list.hlsl | 4 |
4 files changed, 21 insertions, 21 deletions
diff --git a/tests/bugs/gh-103.slang b/tests/bugs/gh-103.slang index 5d271d508..65e71837b 100644 --- a/tests/bugs/gh-103.slang +++ b/tests/bugs/gh-103.slang @@ -3,9 +3,9 @@ // Ensure that matrix-times-scalar works #ifndef __SLANG__ -#define C _SV022SLANG_parameterGroup_C -#define a _SV022SLANG_ParameterGroup_C1a -#define b _SV022SLANG_ParameterGroup_C1b +#define C C_0 +#define a a_0 +#define b b_0 #endif float4x4 doIt(float4x4 a, float b) diff --git a/tests/bugs/gh-333.slang b/tests/bugs/gh-333.slang index 5a0a5769f..2a23f7751 100644 --- a/tests/bugs/gh-333.slang +++ b/tests/bugs/gh-333.slang @@ -3,13 +3,13 @@ // Ensure declaration order in output is correct #ifndef __SLANG__ -#define A _ST01A -#define x _SV01A1x -#define B _ST01B -#define y _SV01B1y -#define C _SV022SLANG_parameterGroup_CL0 -#define a _SV022SLANG_ParameterGroup_C1a -#define b _SV022SLANG_ParameterGroup_C1b +#define A A_0 +#define x x_0 +#define B B_0 +#define y y_0 +#define C C_0 +#define a a_0 +#define b b_0 #endif struct A diff --git a/tests/bugs/split-nested-types.hlsl b/tests/bugs/split-nested-types.hlsl index 8216a4e36..dc8756ba2 100644 --- a/tests/bugs/split-nested-types.hlsl +++ b/tests/bugs/split-nested-types.hlsl @@ -4,18 +4,18 @@ import split_nested_types; #else -#define A _ST01A -#define x _SV01A1x +#define A A_0 +#define x x_0 -#define B _ST01B -#define y _SV01B1y +#define B B_0 +#define y y_0 -#define M _ST01M -#define a _SV01M1a -#define b _SV01M1b +#define M M_0 +#define a a_0 +#define b b_0 -#define C _SV022SLANG_parameterGroup_CL0 -#define m _SV022SLANG_ParameterGroup_C1m +#define C C_0 +#define m m_0 struct A { int x; }; diff --git a/tests/bugs/vec-init-list.hlsl b/tests/bugs/vec-init-list.hlsl index d9d0b83f9..d957548e6 100644 --- a/tests/bugs/vec-init-list.hlsl +++ b/tests/bugs/vec-init-list.hlsl @@ -4,8 +4,8 @@ #ifndef __SLANG__ -#define C _SV022SLANG_parameterGroup_C -#define a _SV022SLANG_ParameterGroup_C1a +#define C C_0 +#define a a_0 #define SV_Position SV_POSITION #endif |
