From: Marek Olšák Date: Fri, 11 Jan 2019 21:57:06 +0000 (-0500) Subject: radeonsi: remove redundant call to emit_cache_flush in compute clear/copy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f139589069c116f676fe6a4665400c199563222b;p=mesa.git radeonsi: remove redundant call to emit_cache_flush in compute clear/copy launch_grid calls it. --- diff --git a/src/gallium/drivers/radeonsi/si_compute_blit.c b/src/gallium/drivers/radeonsi/si_compute_blit.c index 086793637f0..11da04bed85 100644 --- a/src/gallium/drivers/radeonsi/si_compute_blit.c +++ b/src/gallium/drivers/radeonsi/si_compute_blit.c @@ -79,7 +79,6 @@ static void si_compute_do_clear_or_copy(struct si_context *sctx, sctx->flags |= SI_CONTEXT_PS_PARTIAL_FLUSH | SI_CONTEXT_CS_PARTIAL_FLUSH | si_get_flush_flags(sctx, coher, SI_COMPUTE_DST_CACHE_POLICY); - si_emit_cache_flush(sctx); /* Save states. */ void *saved_cs = sctx->cs_shader_state.program;