mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[d3d11] Enable direct image mapping by default
This commit is contained in:
parent
94aa650f3e
commit
a8eecfbfe5
@ -83,10 +83,6 @@ namespace dxvk {
|
||||
// Determine map mode based on our findings
|
||||
m_mapMode = DetermineMapMode(&imageInfo);
|
||||
|
||||
// FIXME Enable direct mapping if it works
|
||||
if (m_mapMode == D3D11_COMMON_TEXTURE_MAP_MODE_DIRECT)
|
||||
m_mapMode = D3D11_COMMON_TEXTURE_MAP_MODE_BUFFER;
|
||||
|
||||
// If the image is mapped directly to host memory, we need
|
||||
// to enable linear tiling, and DXVK needs to be aware that
|
||||
// the image can be accessed by the host.
|
||||
|
Loading…
x
Reference in New Issue
Block a user