mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Implement basic support for #if and #endif.
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:
committed by
Alexandre Julliard
parent
5304cabf46
commit
86cb863bc2
@@ -414,7 +414,7 @@ static void test_preprocess(void)
|
||||
hr = D3DPreprocess(test_include_top, strlen(test_include_top), NULL, NULL, &test_include_fail, &blob, &errors);
|
||||
todo ok(hr == E_FAIL, "Got hr %#x.\n", hr);
|
||||
todo ok(blob == (ID3D10Blob *)0xdeadbeef, "Expected no compiled shader blob.\n");
|
||||
todo ok(!!errors, "Expected non-NULL error blob.\n");
|
||||
ok(!!errors, "Expected non-NULL error blob.\n");
|
||||
if (errors)
|
||||
{
|
||||
if (vkd3d_test_state.debug_level)
|
||||
|
Reference in New Issue
Block a user