gallium: Add PIPE_FORMAT_x8B8G8R8_SNORM formats
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Tue, 22 Jul 2014 10:02:05 +0000 (11:02 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Sep 2014 03:17:46 +0000 (13:17 +1000)
commitf9d8574b5ec6e16af9baed188980b440c60f89ab
tree55b79f2cf42efbd09834a6039f8f0261b671333c
parent9b4c13995c97716e9235eacfb19b59e4f724bda0
gallium: Add PIPE_FORMAT_x8B8G8R8_SNORM formats

This means that each RnGnBnxn format has a reversed counterpart,
which is necessary for handling big-endian mesa<->gallium mappings.
The associated UNORM and SRGB formats already exist.

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