1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 10:54:16 +01:00

[dxvk] Spill render pass when clearing overlapping views

Since we're flushing all pending clears, we need to make sure
that all images are in the correct layout. Found by inspection.
This commit is contained in:
Philip Rebohle 2021-03-06 01:31:55 +01:00
parent 5f0f90f8d4
commit b579b03047
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1869,7 +1869,7 @@ namespace dxvk {
return;
} else if (entry.imageView->checkSubresourceOverlap(imageView)) {
this->flushClears(false);
this->spillRenderPass(false);
break;
}
}
@ -1887,7 +1887,7 @@ namespace dxvk {
entry.clearAspects &= ~discardAspects;
return;
} else if (entry.imageView->checkSubresourceOverlap(imageView)) {
this->flushClears(false);
this->spillRenderPass(false);
break;
}
}