https://bugs.winehq.org/show_bug.cgi?id=44089
Kimmo Myllyvirta kimmo.myllyvirta@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kimmo.myllyvirta@gmail.com
--- Comment #2 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- Created attachment 59809 --> https://bugs.winehq.org/attachment.cgi?id=59809 hack for wine 2.21 staging
0024-d3d11-Implement-CopySubresourceRegion-for-deferred-c.patch breaks it.
The game doesn't use deferred CopySubresourceRegion, but the patch unintentionally changes the alignment of the mapped pointer in d3d11_deferred_context_Map. D3D11_MAPPED_SUBRESOURCE, pData must be 16 byte aligned with feature level >=10, some games rely on it in their SSE optimized code. This was never handled properly in d3d11_deferred_context_Map.
It should not crash with the attached patch.