ddraw/tests: Reduce precision in test_filling_convention.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Stefan Dösinger 2022-01-10 11:00:46 +03:00 committed by Alexandre Julliard
parent 08c856570a
commit 9e6a307f09
4 changed files with 16 additions and 8 deletions

View File

@ -14513,8 +14513,10 @@ static void test_filling_convention(void)
D3DRECT clear_rect = {{0}, {0}, {vp_size}, {vp_size}}; D3DRECT clear_rect = {{0}, {0}, {vp_size}, {vp_size}};
/* This test data follows the examples in MSDN's /* This test data follows the examples in MSDN's
* "Rasterization Rules (Direct3D 9)" article. */ * "Rasterization Rules (Direct3D 9)" article.
static const float eps = 1.0f / 512.0f; *
* See the d3d9 test for a comment about the eps value. */
static const float eps = 1.0f / 64.0f;
D3DLVERTEX center_tris[] = D3DLVERTEX center_tris[] =
{ {
/* left */ /* left */

View File

@ -15443,8 +15443,10 @@ static void test_filling_convention(void)
D3DRECT clear_rect = {{0}, {0}, {vp_size}, {vp_size}}; D3DRECT clear_rect = {{0}, {0}, {vp_size}, {vp_size}};
/* This test data follows the examples in MSDN's /* This test data follows the examples in MSDN's
* "Rasterization Rules (Direct3D 9)" article. */ * "Rasterization Rules (Direct3D 9)" article.
static const float eps = 1.0f / 512.0f; *
* See the d3d9 test for a comment about the eps value. */
static const float eps = 1.0f / 64.0f;
D3DLVERTEX center_tris[] = D3DLVERTEX center_tris[] =
{ {
/* left */ /* left */

View File

@ -18493,8 +18493,10 @@ static void test_filling_convention(void)
D3DRECT clear_rect = {{0}, {0}, {vp_size}, {vp_size}}; D3DRECT clear_rect = {{0}, {0}, {vp_size}, {vp_size}};
/* This test data follows the examples in MSDN's /* This test data follows the examples in MSDN's
* "Rasterization Rules (Direct3D 9)" article. */ * "Rasterization Rules (Direct3D 9)" article.
static const float eps = 1.0f / 512.0f; *
* See the d3d9 test for a comment about the eps value. */
static const float eps = 1.0f / 64.0f;
struct struct
{ {
struct vec3 position; struct vec3 position;

View File

@ -18745,8 +18745,10 @@ static void test_filling_convention(void)
D3DVIEWPORT7 vp = { 0, 0, vp_size, vp_size, 0.0, 1.0 }; D3DVIEWPORT7 vp = { 0, 0, vp_size, vp_size, 0.0, 1.0 };
/* This test data follows the examples in MSDN's /* This test data follows the examples in MSDN's
* "Rasterization Rules (Direct3D 9)" article. */ * "Rasterization Rules (Direct3D 9)" article.
static const float eps = 1.0f / 512.0f; *
* See the d3d9 test for a comment about the eps value. */
static const float eps = 1.0f / 64.0f;
struct struct
{ {
struct vec3 position; struct vec3 position;