diff options
| author | Yong He <yonghe@outlook.com> | 2024-11-06 11:21:53 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-06 11:21:53 -0800 |
| commit | 2533125cb7c673b313195e1d8bc6066b253d95ae (patch) | |
| tree | 480193df48d9c5895e976ba929163ed47f82176c /tests/compute | |
| parent | b86703432629bbfd75a902671d15e40c591065a7 (diff) | |
Fix WGSL parameter block binding. (#5500)
* Fix WGSL parameter block binding.
* Re-enable tests.
* Update failure list.
* Fix entrypoint parameters.
* Update tests.
* Enable stat-var test.
Diffstat (limited to 'tests/compute')
| -rw-r--r-- | tests/compute/cbuffer-legalize.slang | 1 | ||||
| -rw-r--r-- | tests/compute/kernel-context-threading.slang | 1 | ||||
| -rw-r--r-- | tests/compute/parameter-block.slang | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/tests/compute/cbuffer-legalize.slang b/tests/compute/cbuffer-legalize.slang index b77d9fdbf..d0c0a8777 100644 --- a/tests/compute/cbuffer-legalize.slang +++ b/tests/compute/cbuffer-legalize.slang @@ -1,6 +1,5 @@ //TEST(compute):COMPARE_COMPUTE:-cpu -shaderobj //TEST(compute):COMPARE_COMPUTE:-shaderobj -//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu //TEST_INPUT: uniform(data=[1 2 3 4]):name=C.p.c //TEST_INPUT: Texture2D(size=4, content = one):name=C.p.t diff --git a/tests/compute/kernel-context-threading.slang b/tests/compute/kernel-context-threading.slang index 8951d38be..5cfb171a3 100644 --- a/tests/compute/kernel-context-threading.slang +++ b/tests/compute/kernel-context-threading.slang @@ -10,7 +10,6 @@ //TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -output-using-type -xslang -matrix-layout-row-major -shaderobj //TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -output-using-type -dx12 -xslang -matrix-layout-row-major -shaderobj //TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -output-using-type -xslang -matrix-layout-row-major -shaderobj -//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu //TEST_INPUT:cbuffer(data=[1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 10.0 20.0 30.0 1.0]):name matrixBuffer ConstantBuffer<float4x4> matrixBuffer; diff --git a/tests/compute/parameter-block.slang b/tests/compute/parameter-block.slang index 7a67868ef..1806d95a8 100644 --- a/tests/compute/parameter-block.slang +++ b/tests/compute/parameter-block.slang @@ -3,7 +3,7 @@ //TEST(compute):COMPARE_COMPUTE:-vk -shaderobj //TEST(compute):COMPARE_COMPUTE:-shaderobj //TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl -render-features argument-buffer-tier-2 -//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu +//TEST(compute):COMPARE_COMPUTE:-wgpu // Ensure that Slang `ParameterBlock` type is lowered // to HLSL in the fashion that we expect. |
