From: Marek Olšák Date: Thu, 24 Jan 2013 19:54:02 +0000 (+0100) Subject: st/mesa: put RGBX8 and RGBA8 in the default format lists X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b89b80a91deb9f3095d6fc7a65bb2c6190b4e0c7;p=mesa.git st/mesa: put RGBX8 and RGBA8 in the default format lists Reviewed-by: Brian Paul --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index f2b17e68aac..64177057def 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -698,6 +698,7 @@ struct format_mapping #define DEFAULT_RGBA_FORMATS \ PIPE_FORMAT_B8G8R8A8_UNORM, \ + PIPE_FORMAT_R8G8B8A8_UNORM, \ PIPE_FORMAT_A8R8G8B8_UNORM, \ PIPE_FORMAT_A8B8G8R8_UNORM, \ PIPE_FORMAT_B5G6R5_UNORM, \ @@ -705,6 +706,7 @@ struct format_mapping #define DEFAULT_RGB_FORMATS \ PIPE_FORMAT_B8G8R8X8_UNORM, \ + PIPE_FORMAT_R8G8B8X8_UNORM, \ PIPE_FORMAT_X8R8G8B8_UNORM, \ PIPE_FORMAT_X8B8G8R8_UNORM, \ PIPE_FORMAT_B8G8R8A8_UNORM, \