radeonsi: remove redundant call to emit_cache_flush in compute clear/copy

launch_grid calls it.
This commit is contained in:
Marek Olšák 2019-01-11 16:57:06 -05:00
parent e3d283eaca
commit f139589069
1 changed files with 0 additions and 1 deletions

View 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;