https://bugs.winehq.org/show_bug.cgi?id=53863
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- Hi, I can reproduce the issue.
git bisect says ebbcc10b0593948657b8e684c3a9be8ace1a5d25 is the first bad commit: commit ebbcc10b0593948657b8e684c3a9be8ace1a5d25 Author: Zebediah Figura zfigura@codeweavers.com Date: Mon Sep 19 13:21:32 2022 -0500
wined3d: Do not enforce GL map access for resources with WINED3D_RESOURCE_ACCESS_CPU.
d3d maps of such resources will map the CPU copy, and uploads and downloads use glBufferSubData() and glGetBufferSubData() respectively. There is no need to map the BO.
This improves performance of Indivisible on NVidia GPUs. The game uses a d3d9 MANAGED buffer for streaming vertex data, which results in poor performance on NVidia when using GL_MAP_READ_BIT | GL_MAP_PERSISTENT_BIT. With this change we use neither.
This change should only affect managed resources, i.e. those with both CPU and GPU access. We never create a BO for CPU-only resources.