From: Brian Paul Date: Wed, 1 Jun 2011 22:25:35 +0000 (-0600) Subject: st/mesa: add format table entry for GL_RGB9_E5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57242715cb3ce9855460a5f1ccbca0dde8045c21;p=mesa.git st/mesa: add format table entry for GL_RGB9_E5 Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839 --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index dc8551dfe3c..b45cf215d4e 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -1092,6 +1092,10 @@ static struct format_mapping format_map[] = { { GL_INTENSITY16_SNORM, 0 }, { PIPE_FORMAT_I16_SNORM, PIPE_FORMAT_R16G16B16A16_SNORM, PIPE_FORMAT_I8_SNORM, PIPE_FORMAT_R8G8B8A8_SNORM, 0 } + }, + { + { GL_RGB9_E5, 0 }, + { PIPE_FORMAT_R9G9B9E5_FLOAT, 0 } } };