[PATCH 2/2] ddraw/tests: Prefer D24S8 over D24X8.

Stefan Dösinger stefan at codeweavers.com
Wed Jan 26 06:52:44 CST 2022


Am Dienstag, 25. Jänner 2022, 13:49:08 EAT schrieb Henri Verbeet:
> On Sun, 23 Jan 2022 at 21:37, Marvin <testbot at winehq.org> wrote:
> > === debian11 (32 bit report) ===
> > 
> > ddraw:
> > ddraw4.c:11666: Test failed: Got clear result 0x00beef00, expected
> > 0x00adbeef, surface vidmem zbuffer. ddraw4.c:11710: Test failed: Got
> > clear result 0xffffff00, expected 0xffffffff, surface vidmem zbuffer.
> > ddraw4.c:11666: Test failed: Got clear result 0x00beef00, expected
> > 0x00adbeef, surface sysmem zbuffer. ddraw4.c:11710: Test failed: Got
> > clear result 0xffffff00, expected 0xffffffff, surface sysmem zbuffer.
> This fails for me on Wine in a similar way.

I can reproduce it on my Radeon card; AFAICS the stencil bits are in the low 8 
bits and the depth bits in the high 24 bits. AMD and Nvidia cards report this 
differently on Windows in ddraw, but we don't particular care.

I am not particularly motivated to fix up readback values of depth stencil 
surfaces when we know only one game that needs them. But I'll have a look if 
the todo_wine in test_depth_readback has the same cause. Most likely I'll 
settle for making the test failure fix a windows-radeon specific thing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220126/fff0e62f/attachment.sig>


More information about the wine-devel mailing list