diff options
| author | 2023-06-07 14:03:57 -0400 | |
|---|---|---|
| committer | 2023-06-07 14:03:57 -0400 | |
| commit | cfb76d8f3ed8862bc341afeaf6d25a401e2976cf (patch) | |
| tree | 30098242f24010db0da3cd6152a4a716d739b20d /src/video_core/renderer_vulkan | |
| parent | Merge pull request #10583 from ameerj/ill-logic (diff) | |
| parent | gl_staging_buffers: Optimization to reduce fence waiting (diff) | |
| download | yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.tar.gz yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.tar.xz yuzu-cfb76d8f3ed8862bc341afeaf6d25a401e2976cf.zip | |
Merge pull request #10476 from ameerj/gl-memory-maps
OpenGL: Make use of persistent buffer maps in buffer cache
Diffstat (limited to 'src/video_core/renderer_vulkan')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_buffer_cache.h | 1 |
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 { | |||
| 157 | static constexpr bool USE_MEMORY_MAPS = true; | 157 | static constexpr bool USE_MEMORY_MAPS = true; |
| 158 | static constexpr bool SEPARATE_IMAGE_BUFFER_BINDINGS = false; | 158 | static constexpr bool SEPARATE_IMAGE_BUFFER_BINDINGS = false; |
| 159 | static constexpr bool IMPLEMENTS_ASYNC_DOWNLOADS = true; | 159 | static constexpr bool IMPLEMENTS_ASYNC_DOWNLOADS = true; |
| 160 | static constexpr bool USE_MEMORY_MAPS_FOR_UPLOADS = true; | ||
| 160 | }; | 161 | }; |
| 161 | 162 | ||
| 162 | using BufferCache = VideoCommon::BufferCache<BufferCacheParams>; | 163 | using BufferCache = VideoCommon::BufferCache<BufferCacheParams>; |