mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
anv: limit depth flush on dynamic render pass suspend
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27745>
This commit is contained in:
parent
abeac8cf96
commit
642b12baef
1 changed files with 3 additions and 2 deletions
|
|
@ -4989,8 +4989,9 @@ void genX(CmdEndRendering)(
|
|||
"MSAA resolve");
|
||||
}
|
||||
|
||||
if (gfx->depth_att.resolve_mode != VK_RESOLVE_MODE_NONE ||
|
||||
gfx->stencil_att.resolve_mode != VK_RESOLVE_MODE_NONE) {
|
||||
if (!(gfx->rendering_flags & VK_RENDERING_SUSPENDING_BIT) &&
|
||||
(gfx->depth_att.resolve_mode != VK_RESOLVE_MODE_NONE ||
|
||||
gfx->stencil_att.resolve_mode != VK_RESOLVE_MODE_NONE)) {
|
||||
/* We are about to do some MSAA resolves. We need to flush so that the
|
||||
* result of writes to the MSAA depth attachments show up in the sampler
|
||||
* when we blit to the single-sampled resolve target.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue