mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader-runner: Call each runner only once.
If the runners require multiple calls to run_shader_tests() for different shader model ranges, these are moved inside the sole runner call. For the same reason, the trace() messages are also moved inside the runner calls.
This commit is contained in:
committed by
Alexandre Julliard
parent
79de3ec766
commit
671f4ec2b2
Notes:
Alexandre Julliard
2024-01-24 22:53:52 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/514
@@ -1420,6 +1420,7 @@ void run_shader_tests_vulkan(void)
|
||||
if (!init_vulkan_runner(&runner))
|
||||
return;
|
||||
|
||||
trace("Compiling SM2-SM5 shaders with vkd3d-shader and executing with Vulkan\n");
|
||||
run_shader_tests(&runner.r, &vulkan_runner_ops, NULL, SHADER_MODEL_2_0, SHADER_MODEL_5_1);
|
||||
|
||||
cleanup_vulkan_runner(&runner);
|
||||
|
Reference in New Issue
Block a user