softpipe: Take all lods into account when texture sampling.
authorOlivier Galibert <galibert@pobox.com>
Tue, 19 Jun 2012 19:01:37 +0000 (21:01 +0200)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Jul 2012 14:02:39 +0000 (08:02 -0600)
commit229a1a7e4da1a9c60b35b79f2a63e0bab451a76e
tree312277c6cd59a45eef2309f194133507edd17c7e
parent99c65bac341f808279a8a847158ace4f058aa72e
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@pobox.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_tex_sample.h