[Feat] (P13 W4): Magma monolith takes the record arm in one flip, with in-process persistent-map donation

This commit is contained in:
swung0x48 committed 2026-10-06 08:59:53 -04:00
1 parent c86be0c274
commit f3a2fd9308
15 files changed
+141 -73

No files matched your search

@@ -132,7 +132,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
// Split staging may also be the destination of a GPU UBO range copy.
// Persistent host writes must be coherent: Upload deliberately writes
// the mapped pointer without a per-range VMA flush.
if (MG_Config::Transport != MG_Config::TransportMode::Monolith && m_desc.persistentlyMapped) {
if (MG_Config::DataArmIsRecord() && m_desc.persistentlyMapped) {
bufferDesc.requiredFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
}
#endif