radeonsi: remove CB sync after FMASK and DCC decompression

It's not needed according to docs.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31291>
This commit is contained in:
Marek Olšák 2024-08-25 18:26:53 -04:00 committed by Marge Bot
parent a9eb83a15f
commit 3527d9f81d

View file

@ -515,12 +515,6 @@ static void si_blit_decompress_color(struct si_context *sctx, struct si_texture
util_blitter_custom_color(sctx->blitter, cbsurf, custom_blend);
si_blitter_end(sctx);
if (custom_blend == sctx->custom_blend_fmask_decompress ||
custom_blend == sctx->custom_blend_dcc_decompress) {
sctx->barrier_flags |= SI_BARRIER_SYNC_AND_INV_CB;
si_mark_atom_dirty(sctx, &sctx->atoms.s.barrier);
}
/* When running FMASK decompression with DCC, we need to run the "eliminate fast clear" pass
* separately because FMASK decompression doesn't eliminate DCC fast clear. This makes
* render->texture transitions more expensive. It can be disabled by