summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_half.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-04 20:43:52 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-04-06 15:38:21 +0100
commit04ea6f5dd84bb91e91225133f3a67e38ed7a3fad (patch)
treec7b7ca9254d29c5d03e9af970542c1a4b86bbfcb /src/gallium/auxiliary/util/u_half.py
parent05b494c10181cff6a37557f530cfaf5b8d6c8e3d (diff)
util: Make half float lookup tables constant.
Diffstat (limited to 'src/gallium/auxiliary/util/u_half.py')
-rw-r--r--src/gallium/auxiliary/util/u_half.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_half.py b/src/gallium/auxiliary/util/u_half.py
index a92f758750..8007482e97 100644
--- a/src/gallium/auxiliary/util/u_half.py
+++ b/src/gallium/auxiliary/util/u_half.py
@@ -56,7 +56,7 @@ def begin(t, n, l):
table_index = 0
table_length = l
print
- print t + " " + n + "[" + str(l) + "] = {"
+ print "const " + t + " " + n + "[" + str(l) + "] = {"
def value(v):
global table_index