i915: Gut all remaining bits of hardware fog
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 16 Apr 2011 05:20:09 +0000 (22:20 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 22 Apr 2011 00:33:41 +0000 (17:33 -0700)
commitd439491a77cf9f25ea7a7f9c2309d2542d87f83e
tree198b3ef814f41360dbac1f20887dce5672206526
parent499f7c0114cca195c9569c202ae099ef0277b010
i915: Gut all remaining bits of hardware fog

None of this ever gets used.  Fog is always calculated by a fragment
program.  Even though the fixed-function fog unit is never used, state
updates are still sent to the hardware.  Removing those spurious state
updates can't hurt performance.

Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
src/mesa/drivers/dri/i915/i915_context.c
src/mesa/drivers/dri/i915/i915_context.h
src/mesa/drivers/dri/i915/i915_state.c
src/mesa/drivers/dri/i915/i915_vtbl.c