summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-06-07 20:03:57 +0200
committerGitHub <noreply@github.com>2023-06-07 20:03:57 +0200
commitcfb76d8f3ed8862bc341afeaf6d25a401e2976cf (patch)
tree30098242f24010db0da3cd6152a4a716d739b20d /src/video_core/renderer_vulkan
parentMerge pull request #10583 from ameerj/ill-logic (diff)
parentgl_staging_buffers: Optimization to reduce fence waiting (diff)
downloadyuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.tar
yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.tar.gz
yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.tar.bz2
yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.tar.lz
yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.tar.xz
yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.tar.zst
yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_buffer_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.h b/src/video_core/renderer_vulkan/vk_buffer_cache.h
index 794dd0758..92b4f7859 100644
--- a/src/video_core/renderer_vulkan/vk_buffer_cache.h
+++ b/src/video_core/renderer_vulkan/vk_buffer_cache.h
@@ -157,6 +157,7 @@ struct BufferCacheParams {
static constexpr bool USE_MEMORY_MAPS = true;
static constexpr bool SEPARATE_IMAGE_BUFFER_BINDINGS = false;
static constexpr bool IMPLEMENTS_ASYNC_DOWNLOADS = true;
+ static constexpr bool USE_MEMORY_MAPS_FOR_UPLOADS = true;
};
using BufferCache = VideoCommon::BufferCache<BufferCacheParams>;