tests/shader_runner: Remove a redundant vkd3d_test_pop_context().

We already popped the context here.

Move the break inside the previous if to make control flow a little clearer.
This commit is contained in:
Zebediah Figura 2023-04-12 11:34:42 -05:00 committed by Alexandre Julliard
parent 0959c6663f
commit e34bdcab3a
Notes: Alexandre Julliard 2023-04-20 22:58:15 +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/173

View File

@ -887,10 +887,10 @@ void run_shader_tests(struct shader_runner *runner, const struct shader_runner_o
if (state != STATE_NONE)
vkd3d_test_pop_context();
}
if (!ret)
break;
}
if (line[0] == '[')
{
@ -1088,8 +1088,6 @@ void run_shader_tests(struct shader_runner *runner, const struct shader_runner_o
}
}
vkd3d_test_pop_context();
out:
for (i = 0; i < runner->input_element_count; ++i)
free(runner->input_elements[i].name);