swrast: do texture sampling/combining in floating point
authorBrian Paul <brianp@vmware.com>
Sun, 8 Mar 2009 19:49:57 +0000 (13:49 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 2 Apr 2009 02:17:19 +0000 (20:17 -0600)
commitde2afd8688ceb45013d15be7c6e0995199b80e5a
treeb19eb2dc2565d385ad384a7a3f7e414b0cd464e3
parentf8304bf1ed27dc87f52593a437785f2793344767
swrast: do texture sampling/combining in floating point

The code's cleaner and a step toward supporting float-valued texture sampling.
Some optimizations for common cases can be added and re-enabled...
src/mesa/main/colormac.h
src/mesa/swrast/s_atifragshader.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h
src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_texcombine.c
src/mesa/swrast/s_texfilter.c
src/mesa/tnl/t_vb_program.c