From 39933ea02a603e841e4635d42ac1d07bd636d870 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 16 Jun 2026 13:00:34 -0600 Subject: [PATCH] One more staging buffer because why not --- lib/gfx/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gfx/common.cpp b/lib/gfx/common.cpp index aa95366..73ed55d 100644 --- a/lib/gfx/common.cpp +++ b/lib/gfx/common.cpp @@ -55,7 +55,7 @@ static std::string pass_label(std::string_view kind) { constexpr uint64_t StagingBufferSize = UniformBufferSize + VertexBufferSize + IndexBufferSize + StorageBufferSize + (UseTextureBuffer ? TextureUploadSize : 0); constexpr size_t FrameSlotCount = 2; -constexpr size_t StagingBufferCount = FrameSlotCount + 2; +constexpr size_t StagingBufferCount = FrameSlotCount + 3; struct StagingHighWater { uint32_t verts = 0;