mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[d3d11] Apply apitrace mode to image upload buffers
This commit is contained in:
parent
29d8812709
commit
177e70949c
@ -593,7 +593,7 @@ namespace dxvk {
|
||||
VkMemoryPropertyFlags memType = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
|
||||
| VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
|
||||
|
||||
if (m_desc.Usage == D3D11_USAGE_STAGING)
|
||||
if (m_desc.Usage == D3D11_USAGE_STAGING || m_device->GetOptions()->apitraceMode)
|
||||
memType |= VK_MEMORY_PROPERTY_HOST_CACHED_BIT;
|
||||
|
||||
MappedBuffer result;
|
||||
|
Loading…
Reference in New Issue
Block a user