projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cea910b
)
st/mesa: also try PIPE_FORMAT_R10G10B10A2_UNORM for GL_RGB10
author
Brian Paul
<brianp@vmware.com>
Tue, 28 Apr 2015 21:48:56 +0000
(15:48 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 5 May 2015 21:27:52 +0000
(15:27 -0600)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
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
181465d
..
db7b5b7
100644
(file)
--- a/
src/mesa/state_tracker/st_format.c
+++ b/
src/mesa/state_tracker/st_format.c
@@
-991,7
+991,7
@@
static const struct format_mapping format_map[] = {
{
{ GL_RGB10, 0 },
{ PIPE_FORMAT_B10G10R10X2_UNORM, PIPE_FORMAT_B10G10R10A2_UNORM,
- DEFAULT_RGB_FORMATS }
+
PIPE_FORMAT_R10G10B10A2_UNORM,
DEFAULT_RGB_FORMATS }
},
{
{ GL_RGB10_A2, 0 },