From 43df1da01463beb53d1483d152f55c6c48feb9c4 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Thu, 7 Nov 2024 12:49:23 +0200 Subject: Enable a bunch of WGPU tests (#5513) This closes issue #5505. --- tests/compute/constant-buffer-memory-packing.slang | 2 ++ tests/compute/func-cbuffer-param.slang | 2 ++ tests/compute/func-param-legalize.slang | 1 - tests/compute/matrix-layout.hlsl | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/compute') 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 -- cgit v1.2.3