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.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compute/cast-zero-to-struct.slang b/tests/compute/cast-zero-to-struct.slang
index ec3dd6472..383662420 100644
--- a/tests/compute/cast-zero-to-struct.slang
+++ b/tests/compute/cast-zero-to-struct.slang
@@ -3,8 +3,8 @@
// Test that HLSL legacy syntax for casting from literal zero
// to a `struct` type works.
-//TEST(compute):COMPARE_COMPUTE:
-//TEST(compute):COMPARE_COMPUTE:-cpu
+//TEST(compute):COMPARE_COMPUTE: -shaderobj
+//TEST(compute):COMPARE_COMPUTE:-cpu -shaderobj
struct S
{