summaryrefslogtreecommitdiffstats
path: root/tests/compute
diff options
context:
space:
mode:
authorAnders Leino <aleino@nvidia.com>2024-11-07 12:49:23 +0200
committerGitHub <noreply@github.com>2024-11-07 18:49:23 +0800
commit43df1da01463beb53d1483d152f55c6c48feb9c4 (patch)
tree2f9722defc64ffbbcc9f3ed1a70789eb7e060965 /tests/compute
parentd53a3ab92d94b133a6c1992e91e7a08fe99b3337 (diff)
Enable a bunch of WGPU tests (#5513)
This closes issue #5505.
Diffstat (limited to 'tests/compute')
-rw-r--r--tests/compute/constant-buffer-memory-packing.slang2
-rw-r--r--tests/compute/func-cbuffer-param.slang2
-rw-r--r--tests/compute/func-param-legalize.slang1
-rw-r--r--tests/compute/matrix-layout.hlsl1
4 files changed, 5 insertions, 1 deletions
diff --git a/tests/compute/constant-buffer-memory-packing.slang b/tests/compute/constant-buffer-memory-packing.slang
index fb7a78fc1..edcc0babd 100644
--- a/tests/compute/constant-buffer-memory-packing.slang
+++ b/tests/compute/constant-buffer-memory-packing.slang
@@ -9,6 +9,8 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX(filecheck-buffer=BUF):-vk -compute
//TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=BUF):-mtl -compute
+//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu
+
// CPP/CUDA due to natural layout rules will recieve the following ROW matrix:
// {1,2,3}
// {0,4,5}
diff --git a/tests/compute/func-cbuffer-param.slang b/tests/compute/func-cbuffer-param.slang
index ec9543334..a5ff181ad 100644
--- a/tests/compute/func-cbuffer-param.slang
+++ b/tests/compute/func-cbuffer-param.slang
@@ -10,6 +10,8 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-cpu -compute -shaderobj
+//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu
+
struct Data
{
int4 val[4];
diff --git a/tests/compute/func-param-legalize.slang b/tests/compute/func-param-legalize.slang
index 51c00254b..2d7c57e9f 100644
--- a/tests/compute/func-param-legalize.slang
+++ b/tests/compute/func-param-legalize.slang
@@ -1,5 +1,4 @@
//TEST(compute):COMPARE_COMPUTE: -shaderobj
-//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu
struct Param
{
diff --git a/tests/compute/matrix-layout.hlsl b/tests/compute/matrix-layout.hlsl
index 4a2d3f014..f9272c676 100644
--- a/tests/compute/matrix-layout.hlsl
+++ b/tests/compute/matrix-layout.hlsl
@@ -10,6 +10,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -xslang -matrix-layout-row-major -shaderobj
//TEST(compute,compatibility-issue):COMPARE_COMPUTE_EX:-slang -compute -dx12 -use-dxil -xslang -matrix-layout-row-major -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
+//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu
// Not testing on Vulkan because of lack of support
// for integer matrices in GLSL. Slang needs to