mesa: Add MESA_FORMAT_A8L8_{SNORM,SRGB}
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Tue, 22 Jul 2014 09:51:17 +0000 (10:51 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Sep 2014 03:17:47 +0000 (13:17 +1000)
commitdf14091c5857dc398521aaa9ff43bbbaee2d6116
treef4e07d9d59dbb70a1d5e2e999092072d479ab6ab
parent234d194b49f392f9b5d55dc7f8a8b16eb8f07925
mesa: Add MESA_FORMAT_A8L8_{SNORM,SRGB}

The associated UNORM format already existed.

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

[airlied: rebased onto current master]

Signed-off-by: Richard Sandiford <rsandifo@linux.vnet.ibm.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/main/format_pack.c
src/mesa/main/format_unpack.c
src/mesa/main/formats.c
src/mesa/main/formats.csv
src/mesa/main/formats.h
src/mesa/main/texformat.c
src/mesa/swrast/s_texfetch.c
src/mesa/swrast/s_texfetch_tmp.h