diff options
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp index 2221b6b9..f9328d0a 100644 --- a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp @@ -1494,13 +1494,13 @@ void DeviceContextVkImpl::UnmapBuffer(IBuffer* pBuffer, MAP_TYPE MapType) if (MapType == MAP_READ) { - // We are currently using cache-coherent memory, so there is no need to invalidated mapped range + // We are currently using host-cached memory, so there is no need to invalidated mapped range } else if (MapType == MAP_WRITE) { - if (BuffDesc.Usage == USAGE_STAGING) + if (BuffDesc.Usage == USAGE_STAGING || BuffDesc.Usage == USAGE_UNIFIED) { - // We are currently using cache-coherent memory, so there is no need to flush mapped range + // We are currently using host-coherent memory, so there is no need to flush mapped range } else if (BuffDesc.Usage == USAGE_DYNAMIC) { |
