mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Do not abort when an invalid shader test fails.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
98a36dfa41
commit
c3a5cd7c13
@ -651,12 +651,12 @@ void run_shader_tests(struct shader_runner *runner, int argc, char **argv, const
|
|||||||
ok(hr == E_FAIL, "Got unexpected hr %#x.\n", hr);
|
ok(hr == E_FAIL, "Got unexpected hr %#x.\n", hr);
|
||||||
ok(!blob, "Expected no compiled shader blob.\n");
|
ok(!blob, "Expected no compiled shader blob.\n");
|
||||||
ok(!!errors, "Expected non-NULL error blob.\n");
|
ok(!!errors, "Expected non-NULL error blob.\n");
|
||||||
if (!errors)
|
if (errors)
|
||||||
return;
|
{
|
||||||
|
|
||||||
if (vkd3d_test_state.debug_level)
|
if (vkd3d_test_state.debug_level)
|
||||||
trace("%s\n", (char *)ID3D10Blob_GetBufferPointer(errors));
|
trace("%s\n", (char *)ID3D10Blob_GetBufferPointer(errors));
|
||||||
ID3D10Blob_Release(errors);
|
ID3D10Blob_Release(errors);
|
||||||
|
}
|
||||||
|
|
||||||
shader_source_len = 0;
|
shader_source_len = 0;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user