diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-21 05:07:11 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 06:18:05 +0100 |
commit | 74024424422c81c77fc4f675da674503f6474589 (patch) | |
tree | dbb4ff4bf4d74f48cdf13cdfeb5842d4fe48ca89 /src/video_core/renderer_vulkan/vk_staging_buffer_pool.h | |
parent | yuzu/config: Disable assembly shaders by default (diff) | |
download | yuzu-74024424422c81c77fc4f675da674503f6474589.tar yuzu-74024424422c81c77fc4f675da674503f6474589.tar.gz yuzu-74024424422c81c77fc4f675da674503f6474589.tar.bz2 yuzu-74024424422c81c77fc4f675da674503f6474589.tar.lz yuzu-74024424422c81c77fc4f675da674503f6474589.tar.xz yuzu-74024424422c81c77fc4f675da674503f6474589.tar.zst yuzu-74024424422c81c77fc4f675da674503f6474589.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_staging_buffer_pool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h index 4ed99c0df..8e4cadf9b 100644 --- a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h +++ b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h @@ -67,6 +67,8 @@ private: StagingBufferRef GetStreamBuffer(size_t size); + StagingBufferRef GetStagingBuffer(size_t size, MemoryUsage usage); + std::optional<StagingBufferRef> TryGetReservedBuffer(size_t size, MemoryUsage usage); StagingBufferRef CreateStagingBuffer(size_t size, MemoryUsage usage); |