Rebase against 799230c78ab102fa0034cb4477ce1be78c456a87.

This commit is contained in:
Sebastian Lackner
2017-05-26 04:26:33 +02:00
parent 0a60add605
commit 857e9c1cd4
7 changed files with 79 additions and 140 deletions

View File

@@ -1,4 +1,4 @@
From 53da53661a5058d691c15d85328148f37b753769 Mon Sep 17 00:00:00 2001
From 69c020763f71d57ada7d5670883b36add6444039 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sat, 6 May 2017 01:32:51 +0200
Subject: d3dx9_36/tests: Fix some test failures.
@@ -8,10 +8,10 @@ Subject: d3dx9_36/tests: Fix some test failures.
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
index 5bbfb4980b..5fe65ac484 100644
index 3843abea9be..d21a229bbbe 100644
--- a/dlls/d3dx9_36/tests/math.c
+++ b/dlls/d3dx9_36/tests/math.c
@@ -236,7 +236,7 @@ static void D3DXColorTest(void)
@@ -232,7 +232,7 @@ static void D3DXColorTest(void)
/*_______________D3DXColorLerp________________*/
expected.r = 0.32f; expected.g = 0.69f; expected.b = 0.356f; expected.a = 0.897f;
D3DXColorLerp(&got,&color,&color1,scale);
@@ -20,7 +20,7 @@ index 5bbfb4980b..5fe65ac484 100644
/* Test the NULL case */
funcpointer = D3DXColorLerp(&got,NULL,&color1,scale);
ok(funcpointer == NULL, "Expected: %p, Got: %p\n", NULL, funcpointer);
@@ -306,7 +306,7 @@ static void D3DXFresnelTest(void)
@@ -302,7 +302,7 @@ static void D3DXFresnelTest(void)
BOOL equal;
fresnel = D3DXFresnelTerm(0.5f, 1.5f);
@@ -29,7 +29,7 @@ index 5bbfb4980b..5fe65ac484 100644
ok(equal, "Got unexpected Fresnel term %.8e.\n", fresnel);
}
@@ -2955,7 +2955,7 @@ static void test_D3DXSHEvalDirectionalLight(void)
@@ -2947,7 +2947,7 @@ static void test_D3DXSHEvalDirectionalLight(void)
expected = j + test[l].boffset;
else
expected = test[l].blue_out[startindex + j];
@@ -38,9 +38,9 @@ index 5bbfb4980b..5fe65ac484 100644
ok(equal, "Blue: case %u, order %u: expected[%u] = %.8e, received %.8e.\n",
l, order, j, expected, blue_out[j]);
}
@@ -3287,7 +3287,7 @@ static void test_D3DXSHMultiply3(void)
@@ -3292,7 +3292,7 @@ static void test_D3DXSHMultiply3(void)
D3DXSHMultiply3(c, c, b);
for (i = 0; i < 20; i++)
for (i = 0; i < ARRAY_SIZE(expected_aliased); ++i)
{
- equal = compare_float(c[i], expected_aliased[i], 32);
+ equal = compare_float(c[i], expected_aliased[i], 64);