mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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
|
// Determine map mode based on our findings
|
||||||
m_mapMode = DetermineMapMode(&imageInfo);
|
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
|
// If the image is mapped directly to host memory, we need
|
||||||
// to enable linear tiling, and DXVK needs to be aware that
|
// to enable linear tiling, and DXVK needs to be aware that
|
||||||
// the image can be accessed by the host.
|
// the image can be accessed by the host.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user