summaryrefslogtreecommitdiff
path: root/tests/hlsl/simple
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hlsl/simple')
-rw-r--r--tests/hlsl/simple/allow-uav-conditional.hlsl2
-rw-r--r--tests/hlsl/simple/compute-numthreads.hlsl2
-rw-r--r--tests/hlsl/simple/literal-typing.hlsl2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/hlsl/simple/allow-uav-conditional.hlsl b/tests/hlsl/simple/allow-uav-conditional.hlsl
index 3f12c9be8..8195a9f1d 100644
--- a/tests/hlsl/simple/allow-uav-conditional.hlsl
+++ b/tests/hlsl/simple/allow-uav-conditional.hlsl
@@ -3,7 +3,7 @@
// Check output for `[allow_uav_conditional]`
#ifndef __SLANG__
-#define gBuffer _SV07gBuffer
+#define gBuffer gBuffer_0
#endif
RWStructuredBuffer<uint> gBuffer : register(u0);
diff --git a/tests/hlsl/simple/compute-numthreads.hlsl b/tests/hlsl/simple/compute-numthreads.hlsl
index 4f3291671..805c960c4 100644
--- a/tests/hlsl/simple/compute-numthreads.hlsl
+++ b/tests/hlsl/simple/compute-numthreads.hlsl
@@ -3,7 +3,7 @@
// Confirm that we properly pass along the `numthreads` attribute on an entry point.
#ifndef __SLANG__
-#define b _SV01b
+#define b b_0
#endif
RWStructuredBuffer<float> b;
diff --git a/tests/hlsl/simple/literal-typing.hlsl b/tests/hlsl/simple/literal-typing.hlsl
index 48ea5b2cb..0ecf60506 100644
--- a/tests/hlsl/simple/literal-typing.hlsl
+++ b/tests/hlsl/simple/literal-typing.hlsl
@@ -18,7 +18,7 @@ Bad foo(int x) { Bad b; b.bad = x; return b; }
// or ignore it and call the wrong one.
#ifndef __SLANG__
-#define b _SV01b
+#define b b_0
#endif
RWStructuredBuffer<uint> b;