[PATCH 2/2] wined3d: Pass a wined3d_device pointer to wined3d_from_cs().

Stefan Dösinger stefandoesinger at gmail.com
Sat Jul 3 10:42:29 CDT 2021

Am Freitag, 2. Juli 2021, 17:09:50 CEST schrieb Jan Sikorski:
> I guess it’s to force a memory load on each call, which could be omitted if
> the function is inlined. X86 loads are atomic IIRC. - Jan

It was necessary to make ARM CPUs re-load the data from memory. gcc inlines  
the function and would put both head and tail in a register and loop forever.
-------------- 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/20210703/87e548fd/attachment-0001.sig>

More information about the wine-devel mailing list