diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-23 21:15:42 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 06:18:38 +0100 |
commit | 3a2eefb16cf6916344bdb655189cbc546e49ef7e (patch) | |
tree | 1f9915c1b87e9fffca0a80f85386201c89f2251f /src/video_core/renderer_vulkan/vk_buffer_cache.h | |
parent | buffer_cache: Add extra bytes to guest SSBOs (diff) | |
download | yuzu-3a2eefb16cf6916344bdb655189cbc546e49ef7e.tar yuzu-3a2eefb16cf6916344bdb655189cbc546e49ef7e.tar.gz yuzu-3a2eefb16cf6916344bdb655189cbc546e49ef7e.tar.bz2 yuzu-3a2eefb16cf6916344bdb655189cbc546e49ef7e.tar.lz yuzu-3a2eefb16cf6916344bdb655189cbc546e49ef7e.tar.xz yuzu-3a2eefb16cf6916344bdb655189cbc546e49ef7e.tar.zst yuzu-3a2eefb16cf6916344bdb655189cbc546e49ef7e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_buffer_cache.h | 5 |
1 files changed, 5 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 7ff7e0d55..041e6515c 100644 --- a/src/video_core/renderer_vulkan/vk_buffer_cache.h +++ b/src/video_core/renderer_vulkan/vk_buffer_cache.h @@ -90,6 +90,8 @@ private: void ReserveQuadArrayLUT(u32 num_indices, bool wait_for_idle); + void ReserveNullIndexBuffer(); + const Device& device; MemoryAllocator& memory_allocator; VKScheduler& scheduler; @@ -101,6 +103,9 @@ private: VkIndexType quad_array_lut_index_type{}; u32 current_num_indices = 0; + vk::Buffer null_index_buffer; + MemoryCommit null_index_buffer_commit; + Uint8Pass uint8_pass; QuadIndexedPass quad_index_pass; }; |