r300g: add support for PIPE_FORMAT_x8R8G8B8_*
authorMarek Olšák <marek.olsak@amd.com>
Sun, 24 Apr 2016 11:23:52 +0000 (13:23 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 9 May 2016 11:11:40 +0000 (13:11 +0200)
commit172bfdaa9e80342ade3f023f72d455d76713b866
treec11ba92f19b948c30fc7d555dc6b54949d111ad0
parente54b2e902aba22f697c0ba8622cd0a905f1edfff
r300g: add support for PIPE_FORMAT_x8R8G8B8_*

And set endian swap for packed formats the way it should be done
in theory.

This allows big endian to work again, but it can still be buggy.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71789

Cc: 11.1 11.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/r300/r300_reg.h
src/gallium/drivers/r300/r300_texture.c