[PATCH 1/2] ddraw/tests: Accept broken depth readback of new-ish AMD GPUs.

Stefan Dösinger stefandoesinger at gmail.com
Mon Jan 24 05:56:03 CST 2022


Am Sonntag, 23. Jänner 2022, 19:08:16 EAT schrieb Stefan Dösinger:
> -                            || (ddraw_is_nvidia(ddraw) && (all_zero || all_one || !tests[i].s_depth)), 
> +                            || (ddraw_is_nvidia(ddraw) && (all_zero || all_one || !tests[i].s_depth)
> +                           || (ddraw_is_amd(ddraw) && !tests[i].s_depth && tests[i].z_mask == 0x00ffffff)),

The parenthesis here are all wrong; Visual Studio warns about a lot of stuff, but I needed gcc to tell me about the real problem...
-------------- 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/20220124/bd14e5c9/attachment.sig>


More information about the wine-devel mailing list