summaryrefslogtreecommitdiff
path: root/tests/compute/dynamic-dispatch-13.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/dynamic-dispatch-13.slang')
-rw-r--r--tests/compute/dynamic-dispatch-13.slang6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/compute/dynamic-dispatch-13.slang b/tests/compute/dynamic-dispatch-13.slang
index 3c6c37691..e80e5ce5f 100644
--- a/tests/compute/dynamic-dispatch-13.slang
+++ b/tests/compute/dynamic-dispatch-13.slang
@@ -1,6 +1,8 @@
// Test using interface typed shader parameters wrapped inside a `StructuredBuffer`.
//TEST(compute):COMPARE_COMPUTE:-cpu
+//TEST(compute):COMPARE_COMPUTE:-dx11
+//TEST(compute):COMPARE_COMPUTE:-vk
//TEST(compute):COMPARE_COMPUTE:-cuda
[anyValueSize(8)]
@@ -13,10 +15,10 @@ interface IInterface
RWStructuredBuffer<int> gOutputBuffer;
//TEST_INPUT:ubuffer(data=[rtti(MyImpl) witness(MyImpl, IInterface) 1 0], stride=4):name=gCb
-StructuredBuffer<IInterface> gCb;
+RWStructuredBuffer<IInterface> gCb;
//TEST_INPUT:ubuffer(data=[rtti(MyImpl) witness(MyImpl, IInterface) 1 0], stride=4):name=gCb1
-StructuredBuffer<IInterface> gCb1;
+RWStructuredBuffer<IInterface> gCb1;
[numthreads(4, 1, 1)]
void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)