summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-06-01 16:25:35 -0600
committerBrian Paul <[email protected]>2011-06-01 16:25:42 -0600
commit57242715cb3ce9855460a5f1ccbca0dde8045c21 (patch)
treece8100633aaa3b35824fdfba5d1da8351636b0c1
parentf3652f0983e6469a515bdfad439286a1060fa545 (diff)
st/mesa: add format table entry for GL_RGB9_E5
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839
-rw-r--r--src/mesa/state_tracker/st_format.c4
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 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 }
}
};