From 57242715cb3ce9855460a5f1ccbca0dde8045c21 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 1 Jun 2011 16:25:35 -0600 Subject: [PATCH] st/mesa: add format table entry for GL_RGB9_E5 Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839 --- src/mesa/state_tracker/st_format.c | 4 ++++ 1 file changed, 4 insertions(+) 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 } } }; -- 2.30.2