diff options
author | Marek Olšák <[email protected]> | 2017-06-08 01:32:51 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-12 18:24:37 +0200 |
commit | 6743dc01fd3280b25462d7a1636b9df254f71e7b (patch) | |
tree | a941d748c5a60d09194e2ee3d27c2de191d14d23 | |
parent | c5033818644b01728ba551e2e043892444878b39 (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.c | 1 |
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. */ |