Mesa (master): st/mesa: add GL_R11F_G11F_B10F to format table
Brian Paul
brianp at kemper.freedesktop.org
Thu Jun 2 14:01:56 UTC 2011
Module: Mesa
Branch: master
Commit: 029ea39fb9b707a861f4a884c8c191aef0e63af9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=029ea39fb9b707a861f4a884c8c191aef0e63af9
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jun 2 08:01:26 2011 -0600
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 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index b45cf21..3583571 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 }
}
};
More information about the mesa-commit
mailing list