diff options
author | David Heidelberger <d.okias@gmail.com> | 2009-10-29 10:14:39 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-29 10:14:41 -0600 |
commit | 41892e9b17e4e252ce1e73bc2dbc9d24eb13001b (patch) | |
tree | ffbbd60b111fd37feb20c62d6ea8c23b9c2bc41d /src/mesa | |
parent | 10a509564fa13f036b1b177fafae4337928a39a9 (diff) |
st/mesa: fix PIPE_FORMAT_X8Z24 <> MESA_FORMAT_X8_Z24 conversion
Signed-off-by: David Heidelberger <d.okias@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa')
-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 02d3bd943d..bb57adbf32 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -312,6 +312,7 @@ st_pipe_format_to_mesa_format(enum pipe_format pipeFormat) case PIPE_FORMAT_Z24S8_UNORM: return MESA_FORMAT_Z24_S8; case PIPE_FORMAT_X8Z24_UNORM: + return MESA_FORMAT_X8_Z24; case PIPE_FORMAT_S8Z24_UNORM: return MESA_FORMAT_S8_Z24; case PIPE_FORMAT_S8_UNORM: @@ -726,6 +727,7 @@ translate_gallium_format_to_mesa_format(enum pipe_format format) case PIPE_FORMAT_Z24S8_UNORM: return MESA_FORMAT_Z24_S8; case PIPE_FORMAT_X8Z24_UNORM: + return MESA_FORMAT_X8_Z24; case PIPE_FORMAT_S8Z24_UNORM: return MESA_FORMAT_S8_Z24; case PIPE_FORMAT_YCBCR: |