summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_compute.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-08-24 15:32:56 +0200
committerMarek Olšák <[email protected]>2016-09-05 18:01:15 +0200
commit911202817d89170c6c777a4d5a57425c8814dd03 (patch)
tree5593da706feb0c2011e81853ea34aac1b2cc3aeb /src/gallium/drivers/radeonsi/si_compute.c
parentaddca75f4eaadba1781f15d7d43c3da80e00f39c (diff)
radeonsi: don't emit CS_PARTIAL_FLUSH if compute is not used
for less noise in the HUD Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_compute.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c
index 17a4125122b..5041761b1cb 100644
--- a/src/gallium/drivers/radeonsi/si_compute.c
+++ b/src/gallium/drivers/radeonsi/si_compute.c
@@ -512,6 +512,7 @@ static void si_launch_grid(
si_ce_post_draw_synchronization(sctx);
+ sctx->compute_is_busy = true;
sctx->b.num_compute_calls++;
if (sctx->cs_shader_state.uses_scratch)
sctx->b.num_spill_compute_calls++;