From: Brian Paul Date: Fri, 24 Sep 2010 14:24:41 +0000 (-0600) Subject: st/mesa: add missing MESA_FORMAT_S8 case in st_mesa_format_to_pipe_format() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10dcc989ab9f143f0bd6d103fd2b336429644467;p=mesa.git st/mesa: add missing MESA_FORMAT_S8 case in st_mesa_format_to_pipe_format() NOTE: this is a candidate for the 7.9 branch. --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 1ed79524b2c..95064605d7f 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -166,6 +166,8 @@ st_mesa_format_to_pipe_format(gl_format mesaFormat) return PIPE_FORMAT_X8Z24_UNORM; case MESA_FORMAT_X8_Z24: return PIPE_FORMAT_Z24X8_UNORM; + case MESA_FORMAT_S8: + return PIPE_FORMAT_S8_USCALED; case MESA_FORMAT_YCBCR: return PIPE_FORMAT_UYVY; #if FEATURE_texture_s3tc