diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index 65c9b6a43..67d3c826c 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -1857,6 +1857,7 @@ namespace dxvk { VkClearValue clearValue) { for (auto& entry : m_deferredClears) { if (entry.imageView->checkSubresourceMatch(imageView)) { + entry.imageView = imageView; entry.discardAspects &= ~clearAspects; entry.clearAspects |= clearAspects; @@ -1883,6 +1884,7 @@ namespace dxvk { VkImageAspectFlags discardAspects) { for (auto& entry : m_deferredClears) { if (entry.imageView->checkSubresourceMatch(imageView)) { + entry.imageView = imageView; entry.discardAspects |= discardAspects; entry.clearAspects &= ~discardAspects; return;