diff options
author | Liam <byteslice@airmail.cc> | 2023-12-19 21:13:10 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-19 21:13:10 +0100 |
commit | d0a75580da8782477dc9486e0e57e87956a5e8b6 (patch) | |
tree | 29a40c1f21b586bc65635081021aa83afa2fb497 /src/video_core/renderer_vulkan/vk_buffer_cache.h | |
parent | Merge pull request #12408 from german77/lang (diff) | |
download | yuzu-d0a75580da8782477dc9486e0e57e87956a5e8b6.tar yuzu-d0a75580da8782477dc9486e0e57e87956a5e8b6.tar.gz yuzu-d0a75580da8782477dc9486e0e57e87956a5e8b6.tar.bz2 yuzu-d0a75580da8782477dc9486e0e57e87956a5e8b6.tar.lz yuzu-d0a75580da8782477dc9486e0e57e87956a5e8b6.tar.xz yuzu-d0a75580da8782477dc9486e0e57e87956a5e8b6.tar.zst yuzu-d0a75580da8782477dc9486e0e57e87956a5e8b6.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 | 2 |
1 files changed, 2 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 0b3fbd6d0..dc300d7cb 100644 --- a/src/video_core/renderer_vulkan/vk_buffer_cache.h +++ b/src/video_core/renderer_vulkan/vk_buffer_cache.h @@ -63,6 +63,7 @@ private: vk::Buffer buffer; std::vector<BufferView> views; VideoCommon::UsageTracker tracker; + bool is_null{}; }; class QuadArrayIndexBuffer; @@ -151,6 +152,7 @@ private: } void ReserveNullBuffer(); + vk::Buffer CreateNullBuffer(); const Device& device; MemoryAllocator& memory_allocator; |