mesa: Add gl_MESAFogParamsOptimized for our special pre-computed fog params.
authorEric Anholt <eric@anholt.net>
Tue, 23 Nov 2010 23:55:59 +0000 (15:55 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 11 Mar 2011 20:55:14 +0000 (12:55 -0800)
commit29e013e58be93aa6ed760393cf77ef34ca1d57c0
treebe7b3c332d7c02954267862966e8fc0e6ae14b8a
parent20f7a6f11aef492d5ca13e8ba9525eb2961d483c
mesa: Add gl_MESAFogParamsOptimized for our special pre-computed fog params.

It would be nice if we handled optimized uniform math like this in
some generic way, since people often end up doing uniform expressions
in shaders, but for now keep this hard-coded like it was in the
texenvprogram code.
src/glsl/builtin_variables.h
src/mesa/main/uniforms.c