r300g: fix texture border color for all texture formats
authorMarek Olšák <maraeo@gmail.com>
Sat, 13 Nov 2010 15:43:20 +0000 (16:43 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 13 Nov 2010 15:43:20 +0000 (16:43 +0100)
commit7e2256688afdc9506fe5cddd4ad46872671cbc23
tree616c94d157d31e5e7ddf2293b96ad3e779c30ba6
parent3f6b1756f865e012eff8ef0533e184fc5e9d4472
r300g: fix texture border color for all texture formats

This fixes 8 texwrap format tests.
The code should handle arbitrary formats now and is cleaner.

NOTE: This is a candidate for the 7.9 branch.
src/gallium/drivers/r300/r300_state_derived.c