summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-10-31 19:04:08 +0000
committerJosé Fonseca <[email protected]>2011-10-31 19:40:54 +0000
commit7ff247712d7c01141756d0999ff86af1e109ce7c (patch)
treefa6b4b139656e4c62e1dafb8a7f47b0578979808 /src/gallium
parent9734bd05608c00a1d84851f3d46d5deb52e75d5e (diff)
util: Add missing initializer.
Diffstat (limited to 'src/gallium')
-rwxr-xr-xsrc/gallium/auxiliary/util/u_format_table.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_format_table.py b/src/gallium/auxiliary/util/u_format_table.py
index 250a5359811..703d99959f5 100755
--- 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):