[PATCH 1/2] wined3d: Do not accelerate NOOVERWRITE maps if we cannot map persistently.

Zebediah Figura zfigura at codeweavers.com
Tue May 31 12:50:53 CDT 2022


On 5/31/22 05:50, Stefan Dösinger wrote:
> Am Dienstag, 31. Mai 2022, 04:10:07 EAT schrieb Zebediah Figura:
>> I.e. if ARB_buffer_storage is not supported.
> 
> Is it worth adding a sysmem map + glBufferSubData codepath to this for <= d3d9
> games? I am aware of many problems with this (like applications giving us
> incorrect map ranges, thus breaking). How many GPU/driver combinations that
> still matter lack ARB_buffer_storage these days?
You mean accelerating NOOVERWRITE by mapping sysmem from the client 
thread? It might be possible, I think, although a bit orthogonal to this 
commit. But I'm not sure that any GPUs/drivers that lack 
ARB_buffer_storage are new enough to matter.

FWIW, the bug report in question is Nvidia G96 ("9600M GT") + binary 
drivers version 340. So, pretty ancient, but of course worth not 
breaking entirely.



More information about the wine-devel mailing list