r600g: use do_endian_swap in texture swapping function
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 19 Apr 2016 21:17:45 +0000 (00:17 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 26 Apr 2016 08:00:16 +0000 (11:00 +0300)
commit965175aba3eee57e4bcabd616c36abe647524f9c
treeaf080184656f4b4e68b7a533eadbe6f94283eff0
parentc86c761343885b157b122416b0e3d3641fc1061c
r600g: use do_endian_swap in texture swapping function

For some texture formats we need to take "do_endian_swap" into account
when configuring their swizzling.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_state_common.c