etnaviv: remove swizzle from format table
authorJonathan Marek <jonathan@marek.ca>
Sun, 8 Dec 2019 16:20:46 +0000 (11:20 -0500)
committerJonathan Marek <jonathan@marek.ca>
Fri, 13 Dec 2019 14:10:28 +0000 (09:10 -0500)
commitd30499a3c8c17cf3dd24d5773a69af1ed4e2493e
tree510b4f316ac38239a26cd2e7acb89edfc1da7c3f
parent017cbab5b05d714e9c83474decce1946fa10e011
etnaviv: remove swizzle from format table

The only format that needs swizzle is R8 emulated with L8, so we can get
rid of the SWIZ(X, Y, Z, W) everywhere.

Note: R8G8 also had a swizzle, but it wasn't necessary.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_format.c