mesa: add MESA_FORMAT_R8G8B8A8_SRGB
authorBrian Paul <brianp@vmware.com>
Thu, 6 Mar 2014 17:56:27 +0000 (10:56 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Mar 2014 01:17:14 +0000 (18:17 -0700)
commit0f0c16b238886f5bf08991109e88eb7bd507e1e6
treebb83a56637221e62b89314d27881b8d5d0ec0d29
parent8d3f739383fbdf671752fdec707f1c2b9b2aa6a3
mesa: add MESA_FORMAT_R8G8B8A8_SRGB

To match PIPE_FORMAT_R8G8B8A8_SRGB.
v2: fix component name copy&paste bugs

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/format_pack.c
src/mesa/main/format_unpack.c
src/mesa/main/formats.c
src/mesa/main/formats.h
src/mesa/main/texstore.c
src/mesa/swrast/s_texfetch.c
src/mesa/swrast/s_texfetch_tmp.h