OSDN Git Service

swrast: add texfetch code for some XBGR formats
authorBrian Paul <brianp@vmware.com>
Mon, 10 Jun 2013 14:36:33 +0000 (07:36 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 11 Jun 2013 14:26:38 +0000 (08:26 -0600)
commit42adf5f0dd807c43a13df62dc1aa6774de07cd59
tree1d1d4d683c96a6008289a9ab3b9bd35d4a9edc0d
parent91405e3502cca72062aeb202922d275bc184f69f
swrast: add texfetch code for some XBGR formats

Fixes piglit texture-packed-formats regression.  We need to implement
more XBGR formats here eventually, but many are UINT/SINT formats
which swrast doesn't handle yet anyway (integer textures).

Bugzilla https://bugs.freedesktop.org/show_bug.cgi?id=64935

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/swrast/s_texfetch.c
src/mesa/swrast/s_texfetch_tmp.h