tests: Add some missing vkd3d_test_pop_context() calls to test_shader_instructions().

This commit is contained in:
Henri Verbeet 2023-09-27 21:36:24 +02:00 committed by Alexandre Julliard
parent acd3ed97dc
commit 5503a025d9
Notes: Alexandre Julliard 2023-09-28 23:25:57 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/376

View File

@ -10483,12 +10483,14 @@ static void test_shader_instructions(void)
if (uint_tests[i].skip_on_warp && test_options.use_warp_device)
{
skip("Skipping shader '%s' test on WARP.\n", uint_tests[i].ps->name);
vkd3d_test_pop_context();
continue;
}
if (uint_tests[i].is_float64 && !test_shader_float64)
{
skip("Skipping shader '%s' float64 test.\n", uint_tests[i].ps->name);
vkd3d_test_pop_context();
continue;
}