projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f7c805
)
st/mesa: add missing MESA_FORMAT_S8 case in st_mesa_format_to_pipe_format()
author
Brian Paul
<brianp@vmware.com>
Fri, 24 Sep 2010 14:24:41 +0000
(08:24 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 24 Sep 2010 14:24:43 +0000
(08:24 -0600)
NOTE: this is a candidate for the 7.9 branch.
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 1ed79524b2cc688c8de8a1d8f851d66782916b4a..95064605d7f90ba6e0635758fa1b8df7844f87e5 100644
(file)
--- a/
src/mesa/state_tracker/st_format.c
+++ b/
src/mesa/state_tracker/st_format.c
@@
-166,6
+166,8
@@
st_mesa_format_to_pipe_format(gl_format mesaFormat)
return PIPE_FORMAT_X8Z24_UNORM;
case MESA_FORMAT_X8_Z24:
return PIPE_FORMAT_Z24X8_UNORM;
+ case MESA_FORMAT_S8:
+ return PIPE_FORMAT_S8_USCALED;
case MESA_FORMAT_YCBCR:
return PIPE_FORMAT_UYVY;
#if FEATURE_texture_s3tc