[Bug 52090] New: New failures in d3d11:d3d11 in Wine

WineHQ Bugzilla wine-bugs at winehq.org
Mon Nov 22 16:29:19 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52090

            Bug ID: 52090
           Summary: New failures in d3d11:d3d11 in Wine
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

Running d3d11:d3d11 on the TestBot debiant2 VM used to consistently produce 70
failures. But on 2021-11-04 the failure mix changed and the count increased to
a steady 77 failures.

The new failures happen in void test_fractional_viewports() and
test_negative_viewports().
In typical unified diff style:

-d3d11.c:5926: Test failed: Got unexpected CPrimitives count: 3.
-d3d11.c:5943: Test failed: Got unexpected CPrimitives count: 3.
+d3d11.c:28242: Test failed: Got 0xffffffff, expected 0xff00ff00 at (639, 479,
0), sub-resource 0.
+d3d11.c:28242: Test succeeded inside todo block: Got 0xffffffff, expected
0xffffffff at (640, 480, 1), sub-resource 0.
+d3d11.c:28251: Test failed: Got 0xffffffff, expected 0xff00ff00 at (639, 479,
0), sub-resource 0.
+d3d11.c:28251: Test succeeded inside todo block: Got 0xffffffff, expected
0xffffffff at (640, 480, 1), sub-resource 0.
+d3d11.c:28188: Test failed: Got texcoord {8.43750119e-001, 1.56249881e-001},
expected {8.43750000e-001, 1.56250000e-001} at (3, 3), offset 1.25000000e-001.
+d3d11.c:28242: Test failed: Got 0xffffffff, expected 0xff00ff00 at (639, 479,
0), sub-resource 0.
+d3d11.c:28188: Test failed: Got texcoord {8.71093690e-001, 1.28906310e-001},
expected {8.71093750e-001, 1.28906250e-001} at (3, 3), offset 1.56250000e-002.
+d3d11.c:28251: Test failed: Got 0xffffffff, expected 0xff00ff00 at (639, 479,
0), sub-resource 0.
+d3d11.c:28188: Test failed: Got texcoord {7.51953065e-001, 2.48046935e-001},
expected {7.51953125e-001, 2.48046875e-001} at (3, 3), offset 4.92187500e-001.

https://test.winehq.org/data/patterns.html#d3d11:d3d11

A bisect shows that the new failures started with the commit below:

commit 26a53f674c234aaba4a85ec36bae48384899b705
Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Wed Nov 3 20:15:30 2021 +0300

    wined3d: Emulate fractional viewports if GL doesn't support them.

    This allows test_fractional_viewports to pass regardless of GL capabilies.
    I don't think we can get rid of WINED3D_PIXEL_CENTER_INTEGER (and add +0.5
    in the client libs) due to vpos in d3d9 shaders.

    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>

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list