diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-03 00:51:19 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-03 00:51:19 +0100 |
commit | 47e61426586bb9f9f40950e9c4372e4f12bb9ed6 (patch) | |
tree | 2387c7c4af139a3a151d52c7d177ab7c739a7cca /src/gallium/auxiliary/util/u_format_table.py | |
parent | dd194b6932c9b7bbb87b34b501254ec83d82ba49 (diff) |
util: Revert unsolicited, untested, unreviewed, and broken changes to format support.
Not all is bad, but I'm afraid I'll have to throw the baby with the water
given they are all tied to together.
Diffstat (limited to 'src/gallium/auxiliary/util/u_format_table.py')
-rwxr-xr-x | src/gallium/auxiliary/util/u_format_table.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_format_table.py b/src/gallium/auxiliary/util/u_format_table.py index 2c0c9bffee..94a4331b15 100755 --- a/src/gallium/auxiliary/util/u_format_table.py +++ b/src/gallium/auxiliary/util/u_format_table.py @@ -92,7 +92,7 @@ def write_format_table(formats): u_format_pack.generate(formats) for format in formats: - print 'struct util_format_description' + print 'const struct util_format_description' print 'util_format_%s_description = {' % (format.short_name(),) print " %s," % (format.name,) print " \"%s\"," % (format.name,) @@ -103,7 +103,6 @@ def write_format_table(formats): print " %s,\t/* is_array */" % (bool_map(format.is_array()),) print " %s,\t/* is_bitmask */" % (bool_map(format.is_bitmask()),) print " %s,\t/* is_mixed */" % (bool_map(format.is_mixed()),) - print " %s,\t/* is_supported */" % ("TRUE" if u_format_pack.is_format_supported(format) else "FALSE",) print " {" for i in range(4): channel = format.channels[i] |