[MG_Backend] (Disaggregated): P5f fm - keep failed storage upgrades out of the sync fast path

This commit is contained in:
2026-09-19 23:07:45 -04:00
parent 1091846651
commit 0dfbc89a60
@@ -2616,7 +2616,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
(void)inserted;
TextureResource& resource = it->second;
if (resource.image != VK_NULL_HANDLE && resource.syncedWireSerial == record.Serial &&
record.PendingUploads.empty() && (!requireStorage || resource.storageUsageResolved)) {
record.PendingUploads.empty() && (!requireStorage || (resource.usageFlags & VK_IMAGE_USAGE_STORAGE_BIT) != 0)) {
return &resource;
}
if (!SyncWireTextureShape(record, resource, requireStorage)) {