diff options
| author | Yong He <yonghe@outlook.com> | 2020-11-30 08:59:34 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-30 08:59:34 -0800 |
| commit | 339422dc91e10d15cf861ba3006025e3cec250c5 (patch) | |
| tree | aded0572aa9eec81d418fe1af509380a7b49fd98 /tests/compute/dynamic-dispatch-2.slang | |
| parent | de8dbdd778afa876efd9143e302e76c3dfc87ee0 (diff) | |
Enable all dynamic-dispatch tests on D3D/VK. (#1615)
Diffstat (limited to 'tests/compute/dynamic-dispatch-2.slang')
| -rw-r--r-- | tests/compute/dynamic-dispatch-2.slang | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/compute/dynamic-dispatch-2.slang b/tests/compute/dynamic-dispatch-2.slang index 8fa96db23..e71a17b5c 100644 --- a/tests/compute/dynamic-dispatch-2.slang +++ b/tests/compute/dynamic-dispatch-2.slang @@ -1,3 +1,5 @@ +//TEST(compute):COMPARE_COMPUTE:-dx11 +//TEST(compute):COMPARE_COMPUTE:-vk //TEST(compute):COMPARE_COMPUTE:-cpu -xslang -disable-specialization //TEST(compute):COMPARE_COMPUTE:-cuda -xslang -disable-specialization @@ -43,7 +45,7 @@ int test(int inVal) } //TEST_INPUT:ubuffer(data=[0 1 2 3], stride=4):out,name=outputBuffer -RWStructuredBuffer<int> outputBuffer : register(u0); +RWStructuredBuffer<int> outputBuffer; [numthreads(4, 1, 1)] void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) |
