summaryrefslogtreecommitdiff
path: root/tests/compute/cast-zero-to-struct.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/cast-zero-to-struct.slang')
-rw-r--r--tests/compute/cast-zero-to-struct.slang3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/compute/cast-zero-to-struct.slang b/tests/compute/cast-zero-to-struct.slang
index c2ed8fb6d..41bc299e5 100644
--- a/tests/compute/cast-zero-to-struct.slang
+++ b/tests/compute/cast-zero-to-struct.slang
@@ -4,6 +4,7 @@
// to a `struct` type works.
//TEST(compute):COMPARE_COMPUTE:
+//TEST(compute):COMPARE_COMPUTE:-cpu
struct S
{
@@ -24,7 +25,7 @@ int test(int val)
return t.x + t.y*16;
}
-//TEST_INPUT: ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out
+//TEST_INPUT: ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out,name=gOutputBuffer
RWStructuredBuffer<int> gOutputBuffer;
[numthreads(4, 1, 1)]