radeonsi: fix missing num_L2_invalidates increment

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Marek Olšák 2017-06-08 01:32:51 +02:00
parent c503381864
commit 6743dc01fd

View file

@ -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. */