diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2021-07-20 04:01:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 04:01:19 +0200 |
commit | 16f983d33ae05722a7656ca5a15171ccaa4c602f (patch) | |
tree | ec8444cbc28e4ddba55da2ad148a9ff43d0e3b6a /src/video_core/renderer_vulkan/vk_buffer_cache.h | |
parent | Merge pull request #6652 from lat9nq/cmd-vulkan-fixes (diff) | |
parent | vk_buffer_cache: Use emulated null buffers for transform feedback (diff) | |
download | yuzu-16f983d33ae05722a7656ca5a15171ccaa4c602f.tar yuzu-16f983d33ae05722a7656ca5a15171ccaa4c602f.tar.gz yuzu-16f983d33ae05722a7656ca5a15171ccaa4c602f.tar.bz2 yuzu-16f983d33ae05722a7656ca5a15171ccaa4c602f.tar.lz yuzu-16f983d33ae05722a7656ca5a15171ccaa4c602f.tar.xz yuzu-16f983d33ae05722a7656ca5a15171ccaa4c602f.tar.zst yuzu-16f983d33ae05722a7656ca5a15171ccaa4c602f.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_buffer_cache.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_buffer_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.h b/src/video_core/renderer_vulkan/vk_buffer_cache.h index 982e92191..6ea8448d7 100644 --- a/src/video_core/renderer_vulkan/vk_buffer_cache.h +++ b/src/video_core/renderer_vulkan/vk_buffer_cache.h @@ -92,7 +92,7 @@ private: void ReserveQuadArrayLUT(u32 num_indices, bool wait_for_idle); - void ReserveNullIndexBuffer(); + void ReserveNullBuffer(); const Device& device; MemoryAllocator& memory_allocator; @@ -105,8 +105,8 @@ private: VkIndexType quad_array_lut_index_type{}; u32 current_num_indices = 0; - vk::Buffer null_index_buffer; - MemoryCommit null_index_buffer_commit; + vk::Buffer null_buffer; + MemoryCommit null_buffer_commit; Uint8Pass uint8_pass; QuadIndexedPass quad_index_pass; |