From f139589069c116f676fe6a4665400c199563222b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 11 Jan 2019 16:57:06 -0500 Subject: [PATCH] radeonsi: remove redundant call to emit_cache_flush in compute clear/copy launch_grid calls it. --- src/gallium/drivers/radeonsi/si_compute_blit.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2