[PATCH 1/5] d3d9/tests: Correct nv40 results

Stefan Dösinger stefan at codeweavers.com
Wed Apr 24 04:29:53 CDT 2013

Turns out that nv40 chips are in Geforce6/7 cards, and they produce a
different result than GeForce 9 and r600.
 dlls/d3d9/tests/visual.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 88c776a..5069c57 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -12411,9 +12411,9 @@ static void fp_special_test(IDirect3DDevice9 *device)
         {"rsq1",    vs_rsq1,    sizeof(vs_rsq1),    0x000000ff, 0x00ff00ff, 0x00ff7f00},
         {"rsq2",    vs_rsq2,    sizeof(vs_rsq2),    0x000000ff, 0x00ff00ff, 0x00ff7f00},
         {"lit",     vs_lit,     sizeof(vs_lit),     0x00ff0000, 0x00ff0000, 0x00ff0000},
-        {"def1",    vs_def1,    sizeof(vs_def1),    0x00007f00, 0x00007f00, 0x00007f00},
-        {"def2",    vs_def2,    sizeof(vs_def2),    0x00ff7f00, 0x00ff7f00, 0x00ff7f00},
-        {"def3",    vs_def3,    sizeof(vs_def3),    0x00ff7f00, 0x00ff7f00, 0x00ff7f00},
+        {"def1",    vs_def1,    sizeof(vs_def1),    0x00007f00, 0x0000ff00, 0x00007f00},
+        {"def2",    vs_def2,    sizeof(vs_def2),    0x00ff7f00, 0x00ff0000, 0x00ff7f00},
+        {"def3",    vs_def3,    sizeof(vs_def3),    0x00ff7f00, 0x00ff00ff, 0x00ff7f00},
     static const DWORD ps_code[] =

More information about the wine-patches mailing list