From 029ea39fb9b707a861f4a884c8c191aef0e63af9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 2 Jun 2011 08:01:26 -0600 Subject: [PATCH] st/mesa: add GL_R11F_G11F_B10F to format table 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 b45cf215d4e..35835712547 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -1096,6 +1096,10 @@ static struct format_mapping format_map[] = { { { GL_RGB9_E5, 0 }, { PIPE_FORMAT_R9G9B9E5_FLOAT, 0 } + }, + { + { GL_R11F_G11F_B10F, 0 }, + { PIPE_FORMAT_R11G11B10_FLOAT, 0 } } }; -- 2.30.2