Mesa (master): softpipe: Take all lods into account when texture sampling.

Brian Paul brianp at kemper.freedesktop.org
Wed Jul 18 14:50:41 UTC 2012


Module: Mesa
Branch: master
Commit: 229a1a7e4da1a9c60b35b79f2a63e0bab451a76e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=229a1a7e4da1a9c60b35b79f2a63e0bab451a76e

Author: Olivier Galibert <galibert at pobox.com>
Date:   Tue Jun 19 21:01:37 2012 +0200

softpipe: Take all lods into account when texture sampling.

This patch churns a lot because it needs to change 4-wide filters into
single pixel filters, since each fragment may use a different filter.

The only case not entirely supported is the anisotropic filtering.
Not sure what we want to do there, since a full quad is required by
that filter.

Signed-off-by: Olivier Galibert <galibert at pobox.com>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/gallium/drivers/softpipe/sp_tex_sample.c | 1383 ++++++++++++--------------
 src/gallium/drivers/softpipe/sp_tex_sample.h |   28 +-
 2 files changed, 645 insertions(+), 766 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=229a1a7e4da1a9c60b35b79f2a63e0bab451a76e



More information about the mesa-commit mailing list