summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Leino <aleino@nvidia.com>2024-11-28 13:56:41 +0200
committerGitHub <noreply@github.com>2024-11-28 11:56:41 +0000
commit6bc63681e0b874e66fd9b8881c533eafdc6b9b78 (patch)
tree78e292f2f63134b5788fb680f5e8cbc13c5106f3
parent6e52cc811835b82bf9140189ef1f3a8561baf327 (diff)
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.
m---------external/slang-rhi0
-rw-r--r--tests/autodiff/float-cast.slang2
2 files changed, 2 insertions, 0 deletions
diff --git a/external/slang-rhi b/external/slang-rhi
-Subproject 5b77d09cea9a309b98b65469e8438835d972cac
+Subproject 6c495919b92754f8489eb0085ad859344963dcd
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<float> outputBuffer;