i965: Don't bother telling tnl about state updates unless we fall back.
authorEric Anholt <eric@anholt.net>
Tue, 21 Jun 2011 23:52:51 +0000 (16:52 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 24 Jun 2011 17:37:15 +0000 (10:37 -0700)
commit6cf3d1cace770a3b4a0bff0d44db3b9e1da4cb09
tree9e3bc1e714fb5494e3ff532cd150fd68241b65ea
parent18d4a44bdc2ed91ec9511d816acddc4a0bd7f9be
i965: Don't bother telling tnl about state updates unless we fall back.

This was sucking up 1% of the CPU on 3DMMES.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/i830_vtbl.c
src/mesa/drivers/dri/i915/i915_vtbl.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/intel/intel_context.c