diff options
author | José Fonseca <[email protected]> | 2009-10-29 20:03:51 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-10-29 20:03:51 +0000 |
commit | c6164ff155189007c02aabb31549f5f4dc767d1b (patch) | |
tree | 95aaca8c946d10829e099161f089cf060ef851ee /src/mesa/state_tracker | |
parent | a7fa56a64b8963e74e93f3bac8ac80813f4a9778 (diff) |
mesa: Add MESA_FORMAT_Z24_X8.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_format.c | 2 |
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: |