projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1856da
)
st/mesa: put RGBX8 and RGBA8 in the default format lists
author
Marek Olšák
<maraeo@gmail.com>
Thu, 24 Jan 2013 19:54:02 +0000
(20:54 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 6 Feb 2013 13:51:32 +0000
(14:51 +0100)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index f2b17e68aacc703c3149e522f0aa770085bdcb3e..64177057defdbe296547ae16a3243b905ca2324c 100644
(file)
--- 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, \