doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.42k stars 867 forks source link

D3D11: Remove direct image mapping #4415

Closed doitsujin closed 4 weeks ago

doitsujin commented 4 weeks ago

Supercedes #4413.

There are numerous problems with trying to useVK_IMAGE_TILING_LINEAR and exposing that directly to the app:

This will regress Warhammer 3 performance. A possible workaround might be to put the staging buffer in host-visible VRAM, at least on ReBAR systems. Ultimately, the game really just shouldn't be doing what it's doing.

doitsujin commented 4 weeks ago

Turns out this sucks even more. Merged the good commits but it looks like we will need to properly fix up the whole direct image mapping thing after all and test it extensively in a variety of games.