[PATCH 1/7] d3d9/tests: Ignore test_vshader_input() "no color attribute" test result on WARP.
Matteo Bruni
mbruni at codeweavers.com
Mon Mar 13 18:09:52 CDT 2017
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
It seems to fail randomly with multiple colors.
dlls/d3d9/tests/visual.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index a615596..227b7c2 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -8093,11 +8093,8 @@ static void test_vshader_input(void)
hr = IDirect3DDevice9_EndScene(device);
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);
- ok(color_match(color, 0x00000000, 1)
- || broken(color_match(color, 0x00ffff00, 1)),
+ ok(color_match(color, 0x00000000, 1) || broken(warp),
"Got unexpected color 0x%08x for no color attribute test.\n", color);
IDirect3DDevice9_SetVertexShader(device, NULL);
--
2.10.2
More information about the wine-patches
mailing list