added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for Glean
authorBrian <brian.paul@tungstengraphics.com>
Tue, 2 Oct 2007 22:56:02 +0000 (16:56 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 2 Oct 2007 22:56:02 +0000 (16:56 -0600)
src/mesa/state_tracker/st_format.c

index 84e6a2d5fdcfb77903a8cb3af487537089aaa8f5..8dd7df4495bc04cbdc73fa164cfb3ceda054db5b 100644 (file)
@@ -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;