diff options
author | Liam <byteslice@airmail.cc> | 2022-12-25 04:24:56 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-01 22:43:58 +0100 |
commit | 4814d87385a3e06a70514be4ecb2739cba358bdf (patch) | |
tree | c13a876c13fb53e8aceed2a6eaad925e1138f896 /src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp | |
parent | MacroHLE: Final cleanup and fixes. (diff) | |
download | yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.tar yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.tar.gz yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.tar.bz2 yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.tar.lz yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.tar.xz yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.tar.zst yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp index 202806331..66d2e6a70 100644 --- a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp +++ b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp @@ -199,6 +199,9 @@ StagingBufferRef StagingBufferPool::GetStreamBuffer(size_t size) { .buffer = *stream_buffer, .offset = static_cast<VkDeviceSize>(offset), .mapped_span = std::span<u8>(stream_pointer + offset, size), + .usage{}, + .log2_level{}, + .index{}, }; } |