Stefan Dösinger : d3d8/tests: Reduce precision in test_filling_convention.

Alexandre Julliard julliard at winehq.org
Mon Jan 10 15:59:11 CST 2022


Module: wine
Branch: master
Commit: e0434bce9090b7064b2fd4d301bdf18de6bf2158
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e0434bce9090b7064b2fd4d301bdf18de6bf2158

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Mon Jan 10 11:00:47 2022 +0300

d3d8/tests: Reduce precision in test_filling_convention.

Signed-off-by: Stefan Dösinger <stefan at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d8/tests/visual.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d8/tests/visual.c b/dlls/d3d8/tests/visual.c
index 29baf07398c..3c61426e17f 100644
--- a/dlls/d3d8/tests/visual.c
+++ b/dlls/d3d8/tests/visual.c
@@ -11330,8 +11330,10 @@ static void test_filling_convention(void)
     };
 
     /* This test data follows the examples in MSDN's
-     * "Rasterization Rules (Direct3D 9)" article. */
-    static const float eps = 1.0f / 512.0f;
+     * "Rasterization Rules (Direct3D 9)" article.
+     *
+     * See the d3d9 test for a comment about the eps value. */
+    static const float eps = 1.0f / 64.0f;
     const struct
     {
         struct vec3 position;




More information about the wine-cvs mailing list