radeonsi: move translate_colorswap to common code
authorMarek Olšák <marek.olsak@amd.com>
Sun, 23 Feb 2014 17:44:46 +0000 (18:44 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Mar 2014 11:26:16 +0000 (12:26 +0100)
commitdff3eccd158d648482bb47118ef5d57a9186e5a4
tree23046e424fc2c4de50aba94134279696bab5c75b
parent1a568e0f2b65e4e1e1d19a6dece3a792a33da825
radeonsi: move translate_colorswap to common code

Also translate the Y__X swizzle.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_texture.c
src/gallium/drivers/radeon/r600d_common.h
src/gallium/drivers/radeonsi/si_state.c