radeonsi: don't call emit_cache_flush after uploading bindless descriptors

The next draw call will do it.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6786>
This commit is contained in:
Marek Olšák 2020-09-19 04:00:14 -04:00 committed by Marge Bot
parent d647065b06
commit 532259b8a3

View file

@ -1830,10 +1830,8 @@ static void si_upload_bindless_descriptors(struct si_context *sctx)
(*img_handle)->desc_dirty = false;
}
/* Invalidate L1 because it doesn't know that L2 changed. */
/* Invalidate scalar L0 because the cache doesn't know that L2 changed. */
sctx->flags |= SI_CONTEXT_INV_SCACHE;
sctx->emit_cache_flush(sctx);
sctx->bindless_descriptors_dirty = false;
}