Commit 8956862e authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

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

parent f26fa046
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment