Re: [Mesa-dev] [PATCH 5/6] vulkan: enum generator: Stop using iterparse

2017-09-21 Thread Jason Ekstrand
On Thu, Sep 21, 2017 at 10:34 AM, Dylan Baker wrote: > Quoting Jason Ekstrand (2017-09-21 08:32:22) > > While using iterparse is potentially a little more efficient, the Vulkan > > registry XML is not large and using regular element tree simplifies the > > parsing logic

Re: [Mesa-dev] [PATCH 5/6] vulkan: enum generator: Stop using iterparse

2017-09-21 Thread Dylan Baker
Quoting Jason Ekstrand (2017-09-21 08:32:22) > While using iterparse is potentially a little more efficient, the Vulkan > registry XML is not large and using regular element tree simplifies the > parsing logic substantially. > --- > src/vulkan/util/gen_enum_to_str.py | 41 >

[Mesa-dev] [PATCH 5/6] vulkan: enum generator: Stop using iterparse

2017-09-21 Thread Jason Ekstrand
While using iterparse is potentially a little more efficient, the Vulkan registry XML is not large and using regular element tree simplifies the parsing logic substantially. --- src/vulkan/util/gen_enum_to_str.py | 41 +++--- 1 file changed, 16 insertions(+), 25