[Mesa-dev] [PATCH 0/8] More state optimizations for st/mesa
maraeo at gmail.com
Sun Aug 7 01:12:16 UTC 2016
When binding a new shader, st/mesa marks at least 7 states as dirty
per shader stage, but usually we just need shader constants and maybe
fragment shader textures. Processing states for UBOs, SSBOs, atomics,
and images is usually a waste of time.
This series resolved that issue as well as other inefficiencies.
It improves Bioshock Infinite performance by 1%, and it's even higher
for some scenes.
PS: In order to make reviewing easier, all my patches have 10 lines
of contexts instead of 3. That will be the default for all my work
from now on.
More information about the mesa-dev