[MG_Backend] (Disaggregated): retire the final wire pass at present submission

This commit is contained in:
2026-09-20 04:17:18 -04:00
parent 8c9f655b8d
commit b3e4b7b78b
@@ -13445,6 +13445,11 @@ void main() {
}
void VulkanRenderer::Present() {
#if MOBILEGL_BUILD_DISAGGREGATED
// Present has its own submit path. Tag its last wire pass before that
// submission, rather than retaining it until a draw in the next frame.
RetireWireDrawPass();
#endif
if (m_swapchainObject.GetHandle() == VK_NULL_HANDLE || m_presentSuspended) {
// No usable swapchain: the window was zero-area at initialization, or
// presentation was suspended when the window minimized. Try to bring a