radeonsi: remove redundant call to emit_cache_flush in compute clear/copy
authorMarek Olšák <marek.olsak@amd.com>
Fri, 11 Jan 2019 21:57:06 +0000 (16:57 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 22 Jan 2019 16:59:27 +0000 (11:59 -0500)
launch_grid calls it.

src/gallium/drivers/radeonsi/si_compute_blit.c

index 086793637f0ad6b244d77f9e334fe74feb4527ae..11da04bed852d68f45f156c2f7b96b4768c8170c 100644 (file)
@@ -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;