1
0
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:
Philip Rebohle 2022-02-22 01:30:43 +01:00
parent 29d8812709
commit 177e70949c
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

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