Searched refs:bool_map (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format_table.py64 def bool_map(value): function
106 print " %s,\t/* is_array */" % (bool_map(format.is_array()),)
107 print " %s,\t/* is_bitmask */" % (bool_map(format.is_bitmask()),)
108 print " %s,\t/* is_mixed */" % (bool_map(format.is_mixed()),)
117 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)
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_table.py64 def bool_map(value): function
106 print " %s,\t/* is_array */" % (bool_map(format.is_array()),)
107 print " %s,\t/* is_bitmask */" % (bool_map(format.is_bitmask()),)
108 print " %s,\t/* is_mixed */" % (bool_map(format.is_mixed()),)
117 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)

Completed in 86 milliseconds