mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d11] Apply apitrace mode to image upload buffers
This commit is contained in:
parent
29d8812709
commit
177e70949c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue