Module: wine
Branch: master
Commit: 3ec49a32f25b8d6334e507401bfb6beb8eb85cfc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ec49a32f25b8d6334e507401…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Sat Apr 5 14:52:34 2008 +0200
d3d9: Read from a slightly different spot in a test.
---
dlls/d3d9/tests/visual.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index bc9f88b..a38e2d7 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -6116,7 +6116,7 @@ void test_vshader_input(IDirect3DDevice9 *device)
hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %s\n", DXGetErrorString9(hr));
- color = getPixelColor(device, 480, 360);
+ color = getPixelColor(device, 480, 350);
/* vs_1_1 may fail, accept the clear color
*
* NOTE: This test fails on the reference rasterizer. In the refrast, the 4 vertices have different colors,
Module: wine
Branch: master
Commit: b094c95d859b164806432bdaecb9f52841a7bdeb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b094c95d859b164806432bdae…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Sat Apr 5 17:07:36 2008 +0200
d3d9: Remove some test trace lines.
---
dlls/d3d9/tests/visual.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index d4e840a..bc9f88b 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -8533,14 +8533,12 @@ static void pixelshader_blending_test(IDirect3DDevice9 *device)
if(IDirect3D9_CheckDeviceFormat(d3d, 0, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING, D3DRTYPE_TEXTURE, fmt) == D3D_OK) {
/* Compare the color of the center quad with our expectation */
color = getPixelColor(device, 320, 240);
- trace("[Blending] %s: expected=%x, result=%x\n", test_formats[fmt_index].fmtName, test_formats[fmt_index].resultColorBlending, color);
ok(color == test_formats[fmt_index].resultColorBlending, "Offscreen failed for %s: Got color %#08x, expected %#08x.\n", test_formats[fmt_index].fmtName, color, test_formats[fmt_index].resultColorBlending);
} else {
/* No pixel shader blending is supported so expected garbage.The type of 'garbage' depends on the driver version and OS.
* E.g. on G16R16 ati reports (on old r9600 drivers) 0x00ffffff and on modern ones 0x002010ff which is also what Nvidia
* reports. On Vista Nvidia seems to report 0x00ffffff on Geforce7 cards. */
color = getPixelColor(device, 320, 240);
- trace("[No blending] %s: expected %x or 0x00ffffff, result=%x\n", test_formats[fmt_index].fmtName, test_formats[fmt_index].resultColorNoBlending, color);
ok((color == 0x00ffffff) || (color == test_formats[fmt_index].resultColorNoBlending), "Offscreen failed for %s: expected no color blending but received it anyway.\n", test_formats[fmt_index].fmtName);
}