[Mesa-dev] [PATCH 3/9] st/mesa: put RGBX8 and RGBA8 in the default format lists

Marek Olšák maraeo at gmail.com
Sun Jan 27 12:52:51 PST 2013


---
 src/mesa/state_tracker/st_format.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index 6c75a23..a744ed4 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, \
-- 
1.7.10.4



More information about the mesa-dev mailing list