mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
d647065b06
commit
532259b8a3
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue