st/mesa: add GL_R11F_G11F_B10F to format table
authorBrian Paul <brianp@vmware.com>
Thu, 2 Jun 2011 14:01:26 +0000 (08:01 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 2 Jun 2011 14:01:28 +0000 (08:01 -0600)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839

src/mesa/state_tracker/st_format.c

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