From 6bc63681e0b874e66fd9b8881c533eafdc6b9b78 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Thu, 28 Nov 2024 13:56:41 +0200 Subject: Update Slang-RHI/slang (#5701) * Update Slang-RHI/slang This brings in new fixes for WebGPU. In particular, the "use_dxc" toggle is now used, which should enable these tests to run on WebGPU, if f16 is otherwise supported: - `tests/language-feature/generics/variadic-0.slang` - `tests/language-feature/generics/tuple.slang` This closes #5605. * Disable tests/autodiff/float-cast.slang for wgpu This test was previously not running for WebGPU because it required the 'half' render feature, and Slang-RHI was previously not reporting it. With the Slang-RHI update, the test now runs on WebGPU. It now fails because the test is using 'double' which is just not supported on WebGPU. Thus this commit disables the test. --- external/slang-rhi | 2 +- tests/autodiff/float-cast.slang | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/external/slang-rhi b/external/slang-rhi index 5b77d09ce..6c495919b 160000 --- a/external/slang-rhi +++ b/external/slang-rhi @@ -1 +1 @@ -Subproject commit 5b77d09cea9a309b98b65469e8438835d972caca +Subproject commit 6c495919b92754f8489eb0085ad859344963dcd2 diff --git a/tests/autodiff/float-cast.slang b/tests/autodiff/float-cast.slang index 2c9797fa6..0ab00a935 100644 --- a/tests/autodiff/float-cast.slang +++ b/tests/autodiff/float-cast.slang @@ -1,5 +1,7 @@ //TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj -output-using-type -render-features half //TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -output-using-type -render-features half +// Not supported in WGSL: Double and other unsupported scalar types +//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu //TEST_INPUT:ubuffer(data=[0 0 0 0 0], stride=4):out,name=outputBuffer RWStructuredBuffer outputBuffer; -- cgit v1.2.3