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.hlsl6
-rw-r--r--tests/hlsl/simple/compute-numthreads.hlsl2
-rw-r--r--tests/hlsl/simple/implicit_conversion.hlsl2
-rw-r--r--tests/hlsl/simple/literal-typing.hlsl2
4 files changed, 7 insertions, 5 deletions
diff --git a/tests/hlsl/simple/allow-uav-conditional.hlsl b/tests/hlsl/simple/allow-uav-conditional.hlsl
index 3da239860..1526244a2 100644
--- a/tests/hlsl/simple/allow-uav-conditional.hlsl
+++ b/tests/hlsl/simple/allow-uav-conditional.hlsl
@@ -1,4 +1,4 @@
-//TEST:COMPARE_HLSL: -profile cs_5_0 -target dxbc-assembly
+//TEST:COMPARE_HLSL:-no-mangle -profile cs_5_0 -target dxbc-assembly
// Check output for `[allow_uav_conditional]`
@@ -11,8 +11,10 @@ void main(
uint index = tid;
[allow_uav_condition]
- while(gBuffer[index] != 0)
+ for(;;)
{
+ if(gBuffer[index] == 0)
+ break;
index = gBuffer[index];
gBuffer[index]--;
}
diff --git a/tests/hlsl/simple/compute-numthreads.hlsl b/tests/hlsl/simple/compute-numthreads.hlsl
index 3843c401f..ba18a8d16 100644
--- a/tests/hlsl/simple/compute-numthreads.hlsl
+++ b/tests/hlsl/simple/compute-numthreads.hlsl
@@ -1,4 +1,4 @@
-//TEST:COMPARE_HLSL: -no-checking -target dxbc-assembly -profile cs_5_0 -entry main
+//TEST:COMPARE_HLSL:-no-mangle -target dxbc-assembly -profile cs_5_0 -entry main
// Confirm that we properly pass along the `numthreads` attribute on an entry point.
diff --git a/tests/hlsl/simple/implicit_conversion.hlsl b/tests/hlsl/simple/implicit_conversion.hlsl
index 8db62fa9c..d46661341 100644
--- a/tests/hlsl/simple/implicit_conversion.hlsl
+++ b/tests/hlsl/simple/implicit_conversion.hlsl
@@ -1,4 +1,4 @@
-//TEST:COMPARE_HLSL: -target dxbc-assembly -profile cs_5_0 -entry main
+//TEST_DISABLED:COMPARE_HLSL:-no-mangle -target dxbc-assembly -profile cs_5_0 -entry main
// Test various cases of implicit type conversion and preference
// for overload resolution.
diff --git a/tests/hlsl/simple/literal-typing.hlsl b/tests/hlsl/simple/literal-typing.hlsl
index 71acb0d92..359b875f9 100644
--- a/tests/hlsl/simple/literal-typing.hlsl
+++ b/tests/hlsl/simple/literal-typing.hlsl
@@ -1,4 +1,4 @@
-//TEST:COMPARE_HLSL: -target dxbc-assembly -profile cs_5_0 -entry main
+//TEST:COMPARE_HLSL:-no-mangle -target dxbc-assembly -profile cs_5_0 -entry main
// Confirm that we get the typing of literal suffixes correct