From 37cbdad57bd8f1543b9f60abcc3a0b89c7fa09ad Mon Sep 17 00:00:00 2001 From: psucien Date: Fri, 14 Jun 2024 11:26:23 +0200 Subject: [PATCH] renderer_vulkan: static vector for vertex buffers ranges --- src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp index 8a74b7d1..787fb774 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -400,7 +400,7 @@ void GraphicsPipeline::BindVertexBuffers(StreamBuffer& staging) const { }; // Calculate buffers memory overlaps - std::vector ranges{}; + boost::container::static_vector ranges{}; for (const auto& input : vs_info.vs_inputs) { const auto& buffer = guest_buffers.emplace_back( vs_info.ReadUd(input.sgpr_base, input.dword_offset));