renderer_vulkan: static vector for vertex buffers ranges

This commit is contained in:
psucien 2024-06-14 11:26:23 +02:00
parent a0fe34b01f
commit 37cbdad57b
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ void GraphicsPipeline::BindVertexBuffers(StreamBuffer& staging) const {
};
// Calculate buffers memory overlaps
std::vector<BufferRange> ranges{};
boost::container::static_vector<BufferRange, MaxVertexBufferCount> ranges{};
for (const auto& input : vs_info.vs_inputs) {
const auto& buffer = guest_buffers.emplace_back(
vs_info.ReadUd<AmdGpu::Buffer>(input.sgpr_base, input.dword_offset));