From 7c2ff54758d26b73074fd14143ecd843ba685e0d Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 4 Nov 2024 17:37:50 -0800 Subject: Various WGSL fixes. (#5490) * [WGSL] make sure switch has a default label. * Various WGSL fixes. * Update rhi submodule commit * format code * Remove unnecessary DISABLE_TEST directive on not applicable test. * Matrix comp mul + `select`. * Legalize binary ops for wgsl. --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- tests/bugs/nested-switch.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/bugs') diff --git a/tests/bugs/nested-switch.slang b/tests/bugs/nested-switch.slang index 485a83e1f..90abe70d5 100644 --- a/tests/bugs/nested-switch.slang +++ b/tests/bugs/nested-switch.slang @@ -3,7 +3,7 @@ //TEST(compute):COMPARE_COMPUTE: -shaderobj //TEST(compute):COMPARE_COMPUTE:-vk -shaderobj //TEST(compute):COMPARE_COMPUTE:-cpu -shaderobj -//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu +//TEST(compute):COMPARE_COMPUTE:-wgpu int test(int t, int r) { -- cgit v1.2.3