summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-08 01:32:51 +0200
committerMarek Olšák <[email protected]>2017-06-12 18:24:37 +0200
commit6743dc01fd3280b25462d7a1636b9df254f71e7b (patch)
treea941d748c5a60d09194e2ee3d27c2de191d14d23
parentc5033818644b01728ba551e2e043892444878b39 (diff)
radeonsi: fix missing num_L2_invalidates increment
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_state_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c
index 8508259ad87..ec564c1a057 100644
--- a/src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/src/gallium/drivers/radeonsi/si_state_draw.c
@@ -993,6 +993,7 @@ void si_emit_cache_flush(struct si_context *sctx)
rctx->flags &= ~(SI_CONTEXT_INV_GLOBAL_L2 |
SI_CONTEXT_WRITEBACK_GLOBAL_L2 |
SI_CONTEXT_INV_VMEM_L1);
+ sctx->b.num_L2_invalidates++;
}
/* Allocate memory for the fence. */