Skip to content

Commit

Permalink
Added WebGPU mode to test_all script
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Sep 1, 2024
1 parent 302ca35 commit 5301bfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/test_all.bat
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ call :run_tests "%API_TEST_EXE_PATH% --mode=gl --non_separable_progs --gtest_fil
call :run_tests "%API_TEST_EXE_PATH% --mode=vk" "Core GPU Tests VK"
call :run_tests "%API_TEST_EXE_PATH% --mode=vk --shader_compiler=dxc --gtest_filter=-TextureCreation*" "Core GPU Tests VK DXC"

call :run_tests "%API_TEST_EXE_PATH% --mode=wgpu" "Core GPU Tests WebGPU"


rem Tools GPU tests

Expand All @@ -100,6 +102,7 @@ call :run_tests "%TOOLS_GPU_TEST_EXE_PATH% --mode=d3d12_sw" "Tools GPU Tests D3D
call :run_tests "%TOOLS_GPU_TEST_EXE_PATH% --mode=gl" "Tools GPU Tests GL"
call :run_tests "%TOOLS_GPU_TEST_EXE_PATH% --mode=gl --non_separable_progs" "Tools GPU Tests GL Non-sep progs"
call :run_tests "%TOOLS_GPU_TEST_EXE_PATH% --mode=vk" "Tools GPU Tests VK"
call :run_tests "%TOOLS_GPU_TEST_EXE_PATH% --mode=wgpu" "Tools GPU Tests WebGPU"


cd "%CURR_DIR%"
Expand Down
4 changes: 4 additions & 0 deletions Tests/test_samples.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ if "%num_args%" LSS "3" (
echo ADDITIONAL_TEST_APPS_D3D12 - Additional test applications to run in D3D12 mode
echo ADDITIONAL_TEST_APPS_GL - Additional test applications to run in GL mode
echo ADDITIONAL_TEST_APPS_VK - Additional test applications to run in Vk mode
echo ADDITIONAL_TEST_APPS_WGPU - Additional test applications to run in WebGPU mode
echo.
echo Example:
echo test_samples.bat c:\Projects\DiligentEngine\build\Win64 Debug c:\Projects\DiligentTestData\GoldenImages compare
Expand Down Expand Up @@ -76,6 +77,9 @@ call :run_tests "--mode gl --non_separable_progs 1"
set ADDITIONAL_TEST_APPS=%ADDITIONAL_TEST_APPS_VK%
call :run_tests "--mode vk"

set ADDITIONAL_TEST_APPS=%ADDITIONAL_TEST_APPS_WGPU%
call :run_tests "--mode wgpu"

cd "%CURR_DIR%"

echo.
Expand Down

0 comments on commit 5301bfd

Please sign in to comment.