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:
parent
5f0f90f8d4
commit
b579b03047
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user