diff options
author | Liam <byteslice@airmail.cc> | 2023-05-10 19:35:25 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-05-10 19:46:48 +0200 |
commit | 67fd1df762c125fe8a04d7bbded42ba50a1cdef1 (patch) | |
tree | 2323933878dcd1fb788a99d8da56a7aff4c635d8 /src/video_core/renderer_vulkan/vk_buffer_cache.h | |
parent | Merge pull request #10207 from german77/amiibo_cheater (diff) | |
download | yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.gz yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.bz2 yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.lz yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.xz yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.zst yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_buffer_cache.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.h b/src/video_core/renderer_vulkan/vk_buffer_cache.h index 879f1ed94..5e9602905 100644 --- a/src/video_core/renderer_vulkan/vk_buffer_cache.h +++ b/src/video_core/renderer_vulkan/vk_buffer_cache.h @@ -63,7 +63,8 @@ class BufferCacheRuntime { public: explicit BufferCacheRuntime(const Device& device_, MemoryAllocator& memory_manager_, Scheduler& scheduler_, StagingBufferPool& staging_pool_, - UpdateDescriptorQueue& update_descriptor_queue_, + GuestDescriptorQueue& guest_descriptor_queue, + ComputePassDescriptorQueue& compute_pass_descriptor_queue, DescriptorPool& descriptor_pool); void Finish(); @@ -116,12 +117,12 @@ public: void BindTextureBuffer(Buffer& buffer, u32 offset, u32 size, VideoCore::Surface::PixelFormat format) { - update_descriptor_queue.AddTexelBuffer(buffer.View(offset, size, format)); + guest_descriptor_queue.AddTexelBuffer(buffer.View(offset, size, format)); } private: void BindBuffer(VkBuffer buffer, u32 offset, u32 size) { - update_descriptor_queue.AddBuffer(buffer, offset, size); + guest_descriptor_queue.AddBuffer(buffer, offset, size); } void ReserveNullBuffer(); @@ -130,7 +131,7 @@ private: MemoryAllocator& memory_allocator; Scheduler& scheduler; StagingBufferPool& staging_pool; - UpdateDescriptorQueue& update_descriptor_queue; + GuestDescriptorQueue& guest_descriptor_queue; std::shared_ptr<QuadArrayIndexBuffer> quad_array_index_buffer; std::shared_ptr<QuadStripIndexBuffer> quad_strip_index_buffer; |