diff options
Diffstat (limited to 'tests/compute')
| -rw-r--r-- | tests/compute/dynamic-dispatch-12.slang | 2 | ||||
| -rw-r--r-- | tests/compute/dynamic-dispatch-13.slang | 6 | ||||
| -rw-r--r-- | tests/compute/dynamic-dispatch-14.slang | 6 |
3 files changed, 10 insertions, 4 deletions
diff --git a/tests/compute/dynamic-dispatch-12.slang b/tests/compute/dynamic-dispatch-12.slang index cd122ec56..11bfcc1eb 100644 --- a/tests/compute/dynamic-dispatch-12.slang +++ b/tests/compute/dynamic-dispatch-12.slang @@ -1,6 +1,8 @@ // Test using interface typed shader parameters with dynamic dispatch. +//TEST(compute):COMPARE_COMPUTE:-dx11 //TEST(compute):COMPARE_COMPUTE:-cpu +//TEST(compute):COMPARE_COMPUTE:-vk //TEST(compute):COMPARE_COMPUTE:-cuda [anyValueSize(8)] 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) diff --git a/tests/compute/dynamic-dispatch-14.slang b/tests/compute/dynamic-dispatch-14.slang index 5d84a3ee6..35da4bd06 100644 --- a/tests/compute/dynamic-dispatch-14.slang +++ b/tests/compute/dynamic-dispatch-14.slang @@ -1,6 +1,8 @@ // Test using interface typed shader parameters with associated types. +//TEST(compute):COMPARE_COMPUTE:-dx11 //TEST(compute):COMPARE_COMPUTE:-cpu +//TEST(compute):COMPARE_COMPUTE:-vk //TEST(compute):COMPARE_COMPUTE:-cuda [anyValueSize(8)] @@ -20,10 +22,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) |
