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

Alexandre Julliard julliard at winehq.org
Tue Mar 14 16:14:36 CDT 2017


Module: wine
Branch: master
Commit: 1a37a9fa8dc6e7d8fbd16a35b2f17721e63db9af
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1a37a9fa8dc6e7d8fbd16a35b2f17721e63db9af

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Tue Mar 14 00:09:52 2017 +0100

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

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list