[Fix] (MG_Backend/DirectVulkan): materialize mid-pass pending color clears at the subpass color slot index, not the compacted description index

This commit is contained in:
2026-07-16 21:18:00 -04:00
parent 5184901a5b
commit 37ef2cb600
3 changed files with 9 additions and 1 deletions
@@ -718,6 +718,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
if (hasClear) {
pendingClearAttachments.emplace_back(PendingClearAttachmentInfo {
.attachmentIndex = attachmentIndex,
.colorAttachmentSlot = i,
.key = VkClearManager::MakePendingClearKey(att)
});
}