mesa: Kill gl_fragment_program::FogOption with fire
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 16 Apr 2011 02:04:57 +0000 (19:04 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 22 Apr 2011 00:33:29 +0000 (17:33 -0700)
commit4d203a01e20dedcfaab09c18922e8ed9dcb39729
treedc971f5c91cbca5f7d4f7a6c071baf498db243cc
parentdf7555e763b9a4d989788e9b1cd25e8740649e79
mesa: Kill gl_fragment_program::FogOption with fire

All drivers expect this to always be GL_NONE.  Don't let there be any
opportunity for a bad value to leak out and infect some unsuspecting
driver.  If any driver for hardware that had fixed-function
per-fragment fog (i915 and perhaps some r300-ish) was ever going to
add support, it would have done it by now.

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/r300/compiler/r300_fragprog_emit.c
src/mesa/main/ff_fragment_shader.cpp
src/mesa/main/mtypes.h
src/mesa/program/arbprogparse.c
src/mesa/program/program.c
src/mesa/program/programopt.c
src/mesa/program/programopt.h