mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Check for failure from init_test_context() in the d3d11 runner.
This commit is contained in:
parent
53d6966a5d
commit
b7c94b0213
Notes:
Alexandre Julliard
2022-10-18 00:13:00 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/13
@ -627,9 +627,11 @@ void run_shader_tests_d3d11(int argc, char **argv)
|
||||
parse_args(argc, argv);
|
||||
enable_d3d11_debug_layer(argc, argv);
|
||||
init_adapter_info();
|
||||
init_test_context(&runner);
|
||||
run_shader_tests(&runner.r, argc, argv, &d3d11_runner_ops);
|
||||
destroy_test_context(&runner);
|
||||
if (init_test_context(&runner))
|
||||
{
|
||||
run_shader_tests(&runner.r, argc, argv, &d3d11_runner_ops);
|
||||
destroy_test_context(&runner);
|
||||
}
|
||||
}
|
||||
FreeLibrary(d3d11_module);
|
||||
FreeLibrary(dxgi_module);
|
||||
|
Loading…
Reference in New Issue
Block a user