[d3d11] Enable direct image mapping by default

This commit is contained in:
Philip Rebohle 2018-03-18 00:36:53 +01:00
parent 94aa650f3e
commit a8eecfbfe5
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 0 additions and 4 deletions

View File

@ -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.