summaryrefslogtreecommitdiff
path: root/tests/compute/interface-local.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/interface-local.slang')
-rw-r--r--tests/compute/interface-local.slang4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/compute/interface-local.slang b/tests/compute/interface-local.slang
index d3ee88062..0a3d1c85f 100644
--- a/tests/compute/interface-local.slang
+++ b/tests/compute/interface-local.slang
@@ -13,6 +13,8 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx12
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute
+//TEST(compute):COMPARE_COMPUTE_EX:-cpu -compute
+
interface IHelper
{
@@ -35,7 +37,7 @@ int test(int val)
return existentialHelper.getVal();
}
-//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)]