Home
last modified time | relevance | path

Searched refs:enum_factory (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/vulkan/util/
Dgen_enum_to_str.py346 def parse_xml(cmd_factory, enum_factory, ext_factory, struct_factory, filename): argument
356 enum = enum_factory(enum_type.attrib['name'])
361 enum = enum_factory.get(value.attrib['extends'])
394 enum = enum_factory.get(value.attrib['extends'])
404 enum = enum_factory.get(value.attrib['name'])
427 enum_factory = NamedFactory(VkEnum)
431 parse_xml(command_factory, enum_factory, ext_factory, struct_factory, filename)
433 enums = sorted(enum_factory.registry.values(), key=lambda e: e.name)