d3d9/tests: Ignore test_vshader_input() "no color attribute" test result on WARP.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2017-03-14 00:09:52 +01:00 committed by Alexandre Julliard
parent 992dcc4db5
commit 1a37a9fa8d
1 changed files with 1 additions and 4 deletions

View File

@ -8093,11 +8093,8 @@ static void test_vshader_input(void)
hr = IDirect3DDevice9_EndScene(device); hr = IDirect3DDevice9_EndScene(device);
ok(SUCCEEDED(hr), "Failed to end scene, hr %#x.\n", hr); ok(SUCCEEDED(hr), "Failed to end scene, hr %#x.\n", hr);
/* WARP ends up using the color attribute from the previous draw. Let's mark
* that behavior as broken. */
color = getPixelColor(device, 160, 360); color = getPixelColor(device, 160, 360);
ok(color_match(color, 0x00000000, 1) ok(color_match(color, 0x00000000, 1) || broken(warp),
|| broken(color_match(color, 0x00ffff00, 1)),
"Got unexpected color 0x%08x for no color attribute test.\n", color); "Got unexpected color 0x%08x for no color attribute test.\n", color);
IDirect3DDevice9_SetVertexShader(device, NULL); IDirect3DDevice9_SetVertexShader(device, NULL);