mesa: in texenvprogram code, only do saturation when really needed.
authorBrian Paul <brianp@vmware.com>
Thu, 10 Sep 2009 14:41:12 +0000 (08:41 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 10 Sep 2009 14:41:12 +0000 (08:41 -0600)
commite9ba9ffc9aa5dcc2de02dc3e58279ffda2318c79
tree0b6f34cde490295fe35c33efd248acd92275a36b
parent23fefa031f8c6c87a7894247829131293449cb17
mesa: in texenvprogram code, only do saturation when really needed.

For some env modes (like modulate or replace) we don't have to clamp
because we know the results will be in [0,1].
src/mesa/main/texenvprogram.c