diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-22 10:26:20 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-22 11:06:19 -0600 |
commit | b1a9c76b574f4da6b87c5a0750bfbe5bc98d1f4e (patch) | |
tree | 3ce381b7378afe13617c0fb696869abb7366d1f7 | |
parent | 4d7ef6e06b45c75bc24f8f238bcc3d2328e53c7d (diff) |
st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24
-rw-r--r-- | src/mesa/state_tracker/st_format.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 9ae0c9f9ba..91e386c848 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -154,6 +154,10 @@ st_mesa_format_to_pipe_format(gl_format mesaFormat) return PIPE_FORMAT_S8Z24_UNORM; case MESA_FORMAT_S8_Z24: return PIPE_FORMAT_Z24S8_UNORM; + case MESA_FORMAT_Z24_X8: + return PIPE_FORMAT_X8Z24_UNORM; + case MESA_FORMAT_X8_Z24: + return PIPE_FORMAT_Z24X8_UNORM; case MESA_FORMAT_YCBCR: return PIPE_FORMAT_UYVY; #if FEATURE_texture_s3tc |