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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user