mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -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
@@ -996,6 +996,8 @@ void run_shader_tests_gl(void)
|
||||
vkd3d_test_name = "shader_runner_gl";
|
||||
if (!gl_runner_init(&runner))
|
||||
goto done;
|
||||
|
||||
trace("Compiling SM4-SM5 shaders with vkd3d-shader and executing with OpenGL\n");
|
||||
run_shader_tests(&runner.r, &gl_runner_ops, NULL, SHADER_MODEL_4_0, SHADER_MODEL_5_1);
|
||||
gl_runner_cleanup(&runner);
|
||||
done:
|
||||
|
Reference in New Issue
Block a user