radeonsi: remove redundant call to emit_cache_flush in compute clear/copy
launch_grid calls it.
This commit is contained in:
parent
e3d283eaca
commit
f139589069
|
@ -79,7 +79,6 @@ static void si_compute_do_clear_or_copy(struct si_context *sctx,
|
||||||
sctx->flags |= SI_CONTEXT_PS_PARTIAL_FLUSH |
|
sctx->flags |= SI_CONTEXT_PS_PARTIAL_FLUSH |
|
||||||
SI_CONTEXT_CS_PARTIAL_FLUSH |
|
SI_CONTEXT_CS_PARTIAL_FLUSH |
|
||||||
si_get_flush_flags(sctx, coher, SI_COMPUTE_DST_CACHE_POLICY);
|
si_get_flush_flags(sctx, coher, SI_COMPUTE_DST_CACHE_POLICY);
|
||||||
si_emit_cache_flush(sctx);
|
|
||||||
|
|
||||||
/* Save states. */
|
/* Save states. */
|
||||||
void *saved_cs = sctx->cs_shader_state.program;
|
void *saved_cs = sctx->cs_shader_state.program;
|
||||||
|
|
Loading…
Reference in New Issue