Skip to content

iris: Reduce redundant tile cache flushes

Felix Degrood requested to merge fjdegroo/mesa:wip/flush-opts-iris into master

Iris flushes GT caches more frequently than required. Many flushes can be safely removed, improving game performance. The most expensive flush, tile cache, is optimized in this commit series.

Performance is slightly up across most OpenGL workloads. Observed tile cache improvements:

Apps speedup
AztecRuins.ogl-high-offscreen-1440p 1.1%
UnigineValley.ogl-g2 1.3%
Dota 2 (replay Jul 2020).ogl-g2 0.9%
Counter-Strike GO.ogl-g2 1.4%
Manhattan.ogl-Off-19x10 1.6%
CarChase.ogl-Off-19x10 1.4%
Bioshock Infinite.ogl-g2 1.2%
Edited by Felix Degrood

Merge request reports