summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-10-29 20:03:51 +0000
committerJosé Fonseca <[email protected]>2009-10-29 20:03:51 +0000
commitc6164ff155189007c02aabb31549f5f4dc767d1b (patch)
tree95aaca8c946d10829e099161f089cf060ef851ee /src/mesa/state_tracker
parenta7fa56a64b8963e74e93f3bac8ac80813f4a9778 (diff)
mesa: Add MESA_FORMAT_Z24_X8.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index bb57adbf32a..02f80057c29 100644
--- a/src/mesa/state_tracker/st_format.c
+++ b/src/mesa/state_tracker/st_format.c
@@ -309,6 +309,8 @@ st_pipe_format_to_mesa_format(enum pipe_format pipeFormat)
return MESA_FORMAT_Z16;
case PIPE_FORMAT_Z32_UNORM:
return MESA_FORMAT_Z32;
+ case PIPE_FORMAT_Z24X8_UNORM:
+ return MESA_FORMAT_Z24_X8;
case PIPE_FORMAT_Z24S8_UNORM:
return MESA_FORMAT_Z24_S8;
case PIPE_FORMAT_X8Z24_UNORM: