From f62703e933e789dfc47888b35ccbe734a1e3d76a Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Tue, 22 Sep 2026 22:51:20 -0400 Subject: [PATCH] [MG_Backend] (P7): a respecified wire store starts with no submission stamp - M2 round 2 left this to the integrator: lastUseSubmitIndex is B3's field and exists only on the integration tree; without the reset the fresh store answers busy-by-submission until the old index retires (a needless staged copy, conservative not unsafe) --- MobileGL/MG_Backend/DirectVulkan/Renderer/VkBufferManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/VkBufferManager.cpp b/MobileGL/MG_Backend/DirectVulkan/Renderer/VkBufferManager.cpp index 5c1ab34e..a4b9b841 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/VkBufferManager.cpp +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/VkBufferManager.cpp @@ -248,6 +248,7 @@ namespace MobileGL::MG_Backend::DirectVulkan { DeferWireRelease(std::move(resource->buffer), orphanedUseSerial); resource->size = desc.Width; resource->lastUseSerial = 0; + resource->lastUseSubmitIndex = 0; // M2 r2: the new store carries no submission yet (B3's stamp is per store) resource->gpuWritesPending = false; resource->stagedCoverage.clear(); ++m_sliceEpochCounter;