Skip to content

Commit 5301bfd

Browse files
Added WebGPU mode to test_all script
1 parent 302ca35 commit 5301bfd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Tests/test_all.bat

+3
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ call :run_tests "%API_TEST_EXE_PATH% --mode=gl --non_separable_progs --gtest_fil
8787
call :run_tests "%API_TEST_EXE_PATH% --mode=vk" "Core GPU Tests VK"
8888
call :run_tests "%API_TEST_EXE_PATH% --mode=vk --shader_compiler=dxc --gtest_filter=-TextureCreation*" "Core GPU Tests VK DXC"
8989

90+
call :run_tests "%API_TEST_EXE_PATH% --mode=wgpu" "Core GPU Tests WebGPU"
91+
9092

9193
rem Tools GPU tests
9294

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

104107

105108
cd "%CURR_DIR%"

Tests/test_samples.bat

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ if "%num_args%" LSS "3" (
2121
echo ADDITIONAL_TEST_APPS_D3D12 - Additional test applications to run in D3D12 mode
2222
echo ADDITIONAL_TEST_APPS_GL - Additional test applications to run in GL mode
2323
echo ADDITIONAL_TEST_APPS_VK - Additional test applications to run in Vk mode
24+
echo ADDITIONAL_TEST_APPS_WGPU - Additional test applications to run in WebGPU mode
2425
echo.
2526
echo Example:
2627
echo test_samples.bat c:\Projects\DiligentEngine\build\Win64 Debug c:\Projects\DiligentTestData\GoldenImages compare
@@ -76,6 +77,9 @@ call :run_tests "--mode gl --non_separable_progs 1"
7677
set ADDITIONAL_TEST_APPS=%ADDITIONAL_TEST_APPS_VK%
7778
call :run_tests "--mode vk"
7879

80+
set ADDITIONAL_TEST_APPS=%ADDITIONAL_TEST_APPS_WGPU%
81+
call :run_tests "--mode wgpu"
82+
7983
cd "%CURR_DIR%"
8084

8185
echo.

0 commit comments

Comments
 (0)