diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-09-19 17:30:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-19 17:30:04 -0700 |
| commit | 067795689035e97c27239da48ed5c61b26e88301 (patch) | |
| tree | a036f92f0bc3e64eb85dc493c1201f8d79a6090e /tools/slang-test/slang-test-main.cpp | |
| parent | 26ca9c5b0657489f82a221c62903cbc802aaa6a0 (diff) | |
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.
Diffstat (limited to 'tools/slang-test/slang-test-main.cpp')
| -rw-r--r-- | tools/slang-test/slang-test-main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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: |
