projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d781cdc
)
added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for Glean
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 2 Oct 2007 22:56:02 +0000
(16:56 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 2 Oct 2007 22:56:02 +0000
(16:56 -0600)
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 84e6a2d5fdcfb77903a8cb3af487537089aaa8f5..8dd7df4495bc04cbdc73fa164cfb3ceda054db5b 100644
(file)
--- a/
src/mesa/state_tracker/st_format.c
+++ b/
src/mesa/state_tracker/st_format.c
@@
-123,6
+123,8
@@
st_mesa_format_to_pipe_format(GLuint mesaFormat)
return PIPE_FORMAT_U_L8;
case MESA_FORMAT_I8:
return PIPE_FORMAT_U_I8;
+ case MESA_FORMAT_Z16:
+ return PIPE_FORMAT_U_Z16;
default:
assert(0);
return 0;