[Mesa-dev] [PATCH 3/3] mesa: Skip updating texgen when not doing fixed function.

Kenneth Graunke kenneth at whitecape.org
Mon Jan 14 23:37:43 PST 2013


On 01/11/2013 08:57 PM, Eric Anholt wrote:
> Between the previous commit and this one, improves GLBenchmark 2.1
> offscreen performance by 0.48% +/- 0.24% (n=22, throttling outliers
> removed).
> ---
>   src/mesa/main/texstate.c |   70 ++++++++++++++++++++++++++--------------------
>   1 file changed, 39 insertions(+), 31 deletions(-)

Thanks for doing this - I saw these in the profile and wanted to do this 
as well (just didn't get to it).  They're purely pointless overhead, and 
these little savings can add up to a decent payoff.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list