summaryrefslogtreecommitdiff
path: root/tests/compute/select-expr.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/select-expr.slang')
-rw-r--r--tests/compute/select-expr.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compute/select-expr.slang b/tests/compute/select-expr.slang
index d90708ab9..ae5375e42 100644
--- a/tests/compute/select-expr.slang
+++ b/tests/compute/select-expr.slang
@@ -1,6 +1,5 @@
//TEST(smoke,compute):COMPARE_COMPUTE:
-//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out
-
+//TEST(smoke,compute):COMPARE_COMPUTE:-cpu
// Test IR code generation for the `?:` "select" operator
@@ -9,6 +8,7 @@ int test(int input)
return input > 1 ? -input : input;
}
+//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out,name=outputBuffer
RWStructuredBuffer<int> outputBuffer;
[numthreads(4, 1, 1)]