diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-03-06 12:48:39 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-03-06 12:48:39 +0000 |
commit | cfde6c50ae6c3ce7912a3d1231c459d020d77f13 (patch) | |
tree | 6abf79fe82def2c0af0aae428c522013af831374 /src/gallium/auxiliary/util/u_format_table.py | |
parent | 6718f0325827b1d2dde47a48332c6c0471048abe (diff) |
util: Add a new flag, for formats that can be described as a bitmask.
Diffstat (limited to 'src/gallium/auxiliary/util/u_format_table.py')
-rwxr-xr-x | src/gallium/auxiliary/util/u_format_table.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_format_table.py b/src/gallium/auxiliary/util/u_format_table.py index f9d21ed8aa..fb68852a53 100755 --- a/src/gallium/auxiliary/util/u_format_table.py +++ b/src/gallium/auxiliary/util/u_format_table.py @@ -96,6 +96,7 @@ def write_format_table(formats): print " 0," print " 0," print " 0," + print " 0," print " {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}," print " {0, 0, 0, 0}," print " 0" @@ -111,6 +112,7 @@ def write_format_table(formats): print " %s," % (layout_map(format.layout),) print " %u,\t/* nr_channels */" % (format.nr_channels(),) 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 " {" for i in range(4): |