From: Marek Olšák Date: Wed, 7 Jun 2017 23:32:51 +0000 (+0200) Subject: radeonsi: fix missing num_L2_invalidates increment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6743dc01fd3280b25462d7a1636b9df254f71e7b;p=mesa.git radeonsi: fix missing num_L2_invalidates increment Reviewed-by: Nicolai Hähnle --- 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. */