r300g: fix texture swizzling with compressed textures on r400-r500
authorMarek Olšák <maraeo@gmail.com>
Tue, 30 Nov 2010 22:28:43 +0000 (23:28 +0100)
committerMarek Olšák <maraeo@gmail.com>
Wed, 1 Dec 2010 21:29:09 +0000 (22:29 +0100)
commit6478a4de14d368bf85ba3477d73fd1bd91067e86
treeb02d269ab0ad750013b8704511083e6f2aa8de4a
parentc92550be64abd454560556599cd95b237f4375b1
r300g: fix texture swizzling with compressed textures on r400-r500

This fixes all S3TC piglit/texwrap tests.

NOTE: This is a candidate for the 7.9 branch.
src/gallium/drivers/r300/r300_chipset.c
src/gallium/drivers/r300/r300_chipset.h
src/gallium/drivers/r300/r300_reg.h
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_texture.h