d3dx9/tests: Fix tests broken by using the HLSL compiler from vkd3d-shader.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52721
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2022-03-28 14:12:17 +02:00 committed by Alexandre Julliard
parent f26fa04656
commit 8956862e0a
1 changed files with 2 additions and 2 deletions

View File

@ -8105,7 +8105,7 @@ static void test_create_effect_from_file(void)
/* This is apparently broken on native, it ends up using the wrong include. */
hr = D3DXCreateEffectFromFileExW(device, filename_w, NULL, NULL, NULL,
0, NULL, &effect, &messages);
todo_wine ok(hr == E_FAIL, "Unexpected error, hr %#x.\n", hr);
ok(hr == E_FAIL, "Unexpected error, hr %#x.\n", hr);
if (messages)
{
trace("D3DXCreateEffectFromFileExW messages:\n%s", (char *)ID3DXBuffer_GetBufferPointer(messages));
@ -8130,7 +8130,7 @@ static void test_create_effect_from_file(void)
* is "ID3DXEffectCompiler: There were no techniques" */
hr = D3DXCreateEffectFromFileExW(device, filename_w, NULL, &include.ID3DXInclude_iface, NULL,
0, NULL, &effect, &messages);
todo_wine ok(hr == E_FAIL, "D3DXInclude test failed with error %#x.\n", hr);
ok(hr == E_FAIL, "D3DXInclude test failed with error %#x.\n", hr);
if (messages)
{
trace("D3DXCreateEffectFromFileExW messages:\n%s", (char *)ID3DXBuffer_GetBufferPointer(messages));