mesa: Skip updating texgen when not doing fixed function.
authorEric Anholt <eric@anholt.net>
Tue, 8 Jan 2013 19:09:49 +0000 (11:09 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 18 Jan 2013 21:03:46 +0000 (13:03 -0800)
commit1ec1b577f726a70dd787227260e61928e97474e5
tree970de3e699759c83785484b644b96026f4b810ad
parent078727d41c1f1578704c830fce062bd0538802ab
mesa: Skip updating texgen when not doing fixed function.

Between the previous commit and this one, improves GLBenchmark 2.1
offscreen performance by 0.48% +/- 0.24% (n=22, throttling outliers
removed).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texstate.c