projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9734bd0
)
util: Add missing initializer.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 31 Oct 2011 19:04:08 +0000
(19:04 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 31 Oct 2011 19:40:54 +0000
(19:40 +0000)
src/gallium/auxiliary/util/u_format_table.py
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_format_table.py
b/src/gallium/auxiliary/util/u_format_table.py
index 250a5359811fdb2ac9ad728a14a0d6912385271d..703d99959f53721917f079f61585fbe4674f218b 100755
(executable)
--- a/
src/gallium/auxiliary/util/u_format_table.py
+++ b/
src/gallium/auxiliary/util/u_format_table.py
@@
-115,7
+115,7
@@
def write_format_table(formats):
if channel.size:
print " {%s, %s, %s, %u}%s\t/* %s = %s */" % (type_map[channel.type], bool_map(channel.norm), bool_map(channel.pure), channel.size, sep, "xyzw"[i], channel.name)
else:
- print " {0, 0, 0}%s" % (sep,)
+ print " {0, 0, 0
, 0
}%s" % (sep,)
print " },"
print " {"
for i in range(4):