[Perf] (P14): one UBO-ring lookup per draw, split residual copy/stamp loops, one context read for GPU-write marks, Magma slice stamps from the owner's counter (rd12 monolith Espryt 88.8 -> 90.3, Magma 69.8 -> 70.3 fps).

This commit is contained in:
2026-10-07 16:06:02 -04:00
parent 0bd0abf652
commit 785df78d77
8 changed files with 97 additions and 48 deletions
@@ -2205,6 +2205,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
});
MOBILEGL_ASSERT(succeeded, "VkBufferManager initialization failed.");
m_bufferManager.SetCopyCommandProvider(this);
m_bufferManager.SetSubmitCounterSource(&m_submitCounter);
if (m_timerQuerySupported) {
m_timerQueryManager = MakeUnique<VkTimerQueryManager>();
if (m_timerQueryManager->Initialize({.device = m_device,