From 067795689035e97c27239da48ed5c61b26e88301 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:30:04 -0700 Subject: Re-enable slang-test for WGSL (#5120) My previous commit disabled the WGSL test by a mistake. This commit fixes the mistake and run the slang-test for WGSL tests. frexp and modf were still not working for the vector types. --- tools/slang-test/slang-test-main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tools') diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp index cac694f77..47a87ddc2 100644 --- a/tools/slang-test/slang-test-main.cpp +++ b/tools/slang-test/slang-test-main.cpp @@ -968,6 +968,7 @@ static PassThroughFlags _getPassThroughFlagsForTarget(SlangCompileTarget target) case SLANG_HOST_CPP_SOURCE: case SLANG_CUDA_SOURCE: case SLANG_METAL: + case SLANG_WGSL: { return 0; } @@ -993,11 +994,6 @@ static PassThroughFlags _getPassThroughFlagsForTarget(SlangCompileTarget target) return PassThroughFlag::Metal; } - case SLANG_WGSL: - { - return PassThroughFlag::WGSL; - } - case SLANG_SHADER_HOST_CALLABLE: case SLANG_HOST_HOST_CALLABLE: -- cgit v1.2.3