Mesa (master): swrast: do texture sampling/combining in floating point
Brian Paul
brianp at kemper.freedesktop.org
Thu Apr 2 02:25:43 UTC 2009
Module: Mesa
Branch: master
Commit: de2afd8688ceb45013d15be7c6e0995199b80e5a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de2afd8688ceb45013d15be7c6e0995199b80e5a
Author: Brian Paul <brianp at vmware.com>
Date: Sun Mar 8 13:49:57 2009 -0600
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 | 9 -
src/mesa/swrast/s_atifragshader.c | 7 +-
src/mesa/swrast/s_context.c | 4 +-
src/mesa/swrast/s_context.h | 4 +-
src/mesa/swrast/s_fragprog.c | 19 +-
src/mesa/swrast/s_texcombine.c | 827 ++++++++++++++-----------------------
src/mesa/swrast/s_texfilter.c | 414 ++++++++----------
src/mesa/tnl/t_vb_program.c | 7 +-
8 files changed, 512 insertions(+), 779 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=de2afd8688ceb45013d15be7c6e0995199b80e5a
More information about the mesa-commit
mailing list