From: Michel Dänzer Date: Thu, 6 Dec 2007 10:25:40 +0000 (+0100) Subject: st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d492b388c96d98825ce9c6a9567ad83b3dee14b9;p=mesa.git st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444. --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 6d056dbe832..b6b9375967e 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -256,6 +256,8 @@ st_mesa_format_to_pipe_format(GLuint mesaFormat) case MESA_FORMAT_ARGB8888_REV: case MESA_FORMAT_ARGB8888: return PIPE_FORMAT_U_A8_R8_G8_B8; + case MESA_FORMAT_ARGB4444: + return PIPE_FORMAT_U_A4_R4_G4_B4; case MESA_FORMAT_AL88: return PIPE_FORMAT_U_A8_L8; case MESA_FORMAT_A8: