mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
d3d9/tests: Fix the expected value for the "blendindices" test in pretransformed_varying_test().
0x00333333 makes much more sense than 0x00000000, and is what most of my hardware returns. Apparently at least some GF7 cards (still) return 0x00000000, so also accept that as broken().
This commit is contained in:
parent
4eb3ce8568
commit
532f17bce0
@ -6398,7 +6398,7 @@ static void pretransformed_varying_test(IDirect3DDevice9 *device)
|
||||
|
||||
struct varying_test_struct tests[] = {
|
||||
{blendweight_code, NULL, 0x00000000, 0x00191919, "blendweight" , FALSE, TRUE },
|
||||
{blendindices_code, NULL, 0x00000000, 0x00000000, "blendindices" , FALSE, FALSE },
|
||||
{blendindices_code, NULL, 0x00000000, 0x00333333, "blendindices" , FALSE, TRUE },
|
||||
{normal_code, NULL, 0x00000000, 0x004c4c4c, "normal" , FALSE, TRUE },
|
||||
/* Why does dx not forward the texcoord? */
|
||||
{texcoord0_code, NULL, 0x00000000, 0x00808c8c, "texcoord0" , FALSE, FALSE },
|
||||
@ -6526,7 +6526,9 @@ static void pretransformed_varying_test(IDirect3DDevice9 *device)
|
||||
* Needs a replacement pipeline. */
|
||||
color = getPixelColor(device, 360, 240);
|
||||
if (tests[i].todo_rhw)
|
||||
todo_wine ok(color_match(color, tests[i].color_rhw, 1),
|
||||
todo_wine ok(color_match(color, tests[i].color_rhw, 1)
|
||||
|| broken(color_match(color, 0x00000000, 1)
|
||||
&& tests[i].shader_code == blendindices_code),
|
||||
"Test %s returned color 0x%08x, expected 0x%08x (todo).\n",
|
||||
tests[i].name, color, tests[i].color_rhw);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user