radeonsi/gfx11: use a lighter workaround for Navi31 dEQP failures

This passes tests.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29053>
This commit is contained in:
Marek Olšák 2024-04-30 04:56:20 -04:00 committed by Marge Bot
parent 602dd4c601
commit 56f2cc2277

View file

@ -1237,7 +1237,7 @@ static void gfx6_clear(struct pipe_context *ctx, unsigned buffers,
* The root cause is unknown.
*/
if (sctx->gfx_level == GFX11 || sctx->gfx_level == GFX11_5) {
sctx->flags |= SI_CONTEXT_FLUSH_AND_INV_DB;
sctx->flags |= SI_CONTEXT_VS_PARTIAL_FLUSH;
si_mark_atom_dirty(sctx, &sctx->atoms.s.cache_flush);
}
}