summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-01-11 16:57:06 -0500
committerMarek Olšák <[email protected]>2019-01-22 11:59:27 -0500
commitf139589069c116f676fe6a4665400c199563222b (patch)
tree2ffd3d3b3c2449b8a3a5308350832125d94d482e /src/gallium/drivers
parente3d283eaca6f51904ca704ab840e65e2d69395c8 (diff)
radeonsi: remove redundant call to emit_cache_flush in compute clear/copy
launch_grid calls it.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_compute_blit.c1
1 files changed, 0 insertions, 1 deletions
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;