From 509409ef11e3b1abd1d7e1bfb540bc172aa1a817 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Mon, 7 Oct 2024 20:16:19 +0300 Subject: Add WGSL support for slang-test (#5174) * Use the assembly description as target when disassembling I believe this is a bugfix. It seems to have worked before because up until the WGSL case, the disassembler has been the same executable as the one producing the binary to be disassembled. * Add Tint as a downstream compiler This closes issue #5104. * Add downstream compiler for Tint. * Tint is wrapped in a shared library, 'slang-tint' available from [1]. * The header file for slang-tint.dll is added in external/slang-tint-headers. * Add some boilerplate for WGSL targets. * Add an entry point test for WGSL. [1] https://github.com/shader-slang/dawn/releases/tag/slang-tint-0 * Add WGSL_SPIRV as supported target for Glslang * Add WebGPU support to slang-test This helps to address issue #5051. * Disable lots of crashing compute tests for 'wgpu' This closes issue #5051. --------- Co-authored-by: Yong He --- tests/expected-failure-github.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'tests/expected-failure-github.txt') diff --git a/tests/expected-failure-github.txt b/tests/expected-failure-github.txt index 524930f62..4551a4c69 100644 --- a/tests/expected-failure-github.txt +++ b/tests/expected-failure-github.txt @@ -5,3 +5,32 @@ tests/language-feature/saturated-cooperation/fuse-product.slang (vk) tests/language-feature/saturated-cooperation/fuse.slang (vk) tests/bugs/byte-address-buffer-interlocked-add-f32.slang (vk) tests/serialization/obfuscated-serialized-module-test.slang.2 syn (mtl) +tests/compute/atomics (wgpu) +tests/compute/atomics-buffer (wgpu) +tests/compute/atomics-groupshared (wgpu) +tests/compute/buffer-type-splitting (wgpu) +tests/compute/byte-address-buffer (wgpu) +tests/compute/cbuffer-legalize.slang.2 syn (wgpu) +tests/compute/column-major (wgpu) +tests/compute/compile-time-loop.slang.2 syn (wgpu) +tests/compute/constant-buffer-memory-packing (wgpu) +tests/compute/constexpr.slang.2 syn (wgpu) +tests/compute/discard-stmt.slang.2 syn (wgpu) +tests/compute/func-cbuffer-param (wgpu) +tests/compute/func-param-legalize.slang.1 syn (wgpu) +tests/compute/func-resource-param.slang.4 syn (wgpu) +tests/compute/global-init.slang.2 syn (wgpu) +tests/compute/interface-shader-param-in-struct.slang.4 syn (wgpu) +tests/compute/interface-shader-param.slang.5 syn (wgpu) +tests/compute/kernel-context-threading.slang.6 syn (wgpu) +tests/compute/loop-unroll.slang.7 syn (wgpu) +tests/compute/matrix-layout.hlsl.3 syn (wgpu) +tests/compute/non-square-column-major.slang.6 syn (wgpu) +tests/compute/non-square-row-major.slang.6 syn (wgpu) +tests/compute/parameter-block (wgpu) +tests/compute/row-major.slang.4 syn (wgpu) +tests/compute/texture-get-dimensions (wgpu) +tests/compute/texture-sampling (wgpu) +tests/compute/texture-simple (wgpu) +tests/compute/texture-simpler (wgpu) +tests/compute/transcendental-double (wgpu) -- cgit v1.2.3