mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-07 01:53:24 +09:00
[MG_Backend] (Disaggregated): P5f fm - keep failed storage upgrades out of the sync fast path
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user