From 10dcc989ab9f143f0bd6d103fd2b336429644467 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 24 Sep 2010 08:24:41 -0600 Subject: [PATCH] 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. --- src/mesa/state_tracker/st_format.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2