From: Brian Date: Tue, 2 Oct 2007 22:56:02 +0000 (-0600) Subject: added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for Glean X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae28d19bbf527e50be9ff9e52cb69f6afdf1d506;p=mesa.git added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for Glean --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 84e6a2d5fdc..8dd7df4495b 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -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;