projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dad22cc
)
mesa/main: Make get_hash.c values constant.
author
José Fonseca
<jfonseca@vmware.com>
Sun, 1 Jun 2014 07:54:18 +0000
(08:54 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 3 Jun 2014 11:20:50 +0000
(12:20 +0100)
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
src/mesa/main/get_hash_generator.py
patch
|
blob
|
history
diff --git
a/src/mesa/main/get_hash_generator.py
b/src/mesa/main/get_hash_generator.py
index 96bc4958797e2e886f7b4d819f7cbf494472edd5..b200d1973411c56cd7572b77674f3175ba23357e 100644
(file)
--- a/
src/mesa/main/get_hash_generator.py
+++ b/
src/mesa/main/get_hash_generator.py
@@
-52,7
+52,7
@@
def print_header():
(prime_factor, prime_step)
def print_params(params):
- print "static struct value_desc values[] = {"
+ print "static
const
struct value_desc values[] = {"
for p in params:
print " { %s, %s }," % (p[0], p[1])