st/mesa: add format table entry for GL_RGB9_E5
authorBrian Paul <brianp@vmware.com>
Wed, 1 Jun 2011 22:25:35 +0000 (16:25 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 1 Jun 2011 22:25:42 +0000 (16:25 -0600)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839

src/mesa/state_tracker/st_format.c

index dc8551dfe3c517abc703f2f2edc751c2b9ebabc3..b45cf215d4e5abc5e3ff9d695373bd2934ab7b55 100644 (file)
@@ -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 }
    }
 };