gallium: Add PIPE_FORMAT_AnLn and PIPE_FORMAT_GnRn formats
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Tue, 22 Jul 2014 09:51:15 +0000 (10:51 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Sep 2014 03:17:46 +0000 (13:17 +1000)
commitf14b40ab320db149b3ea1c293ef4e14ce8a29fc5
treef1ef285a6fdc470a3d26eca464fae9cf0200ebef
parent9ea045e85eee506d919b880e4d8d7428faaea6a1
gallium: Add PIPE_FORMAT_AnLn and PIPE_FORMAT_GnRn formats

...i.e. formats in which the alpha or green channel is first in memory.

This means that each LnAn and RnGn format has a reversed counterpart,
which is necessary for handling big-endian mesa<->gallium mappings.

Signed-off-by: Richard Sandiford <rsandifo@linux.vnet.ibm.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/util/u_format.csv
src/gallium/include/pipe/p_format.h