vulkan: enum generator: Stop using iterparse
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Sep 2017 15:05:25 +0000 (08:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Sep 2017 14:47:34 +0000 (07:47 -0700)
commita2fa09efd353fabd66253cfffec1c7dd05322f79
tree82fcd57d03353d4d912b772784ccc71a335a609b
parent0ee868c1f63dd27fcef4e7c5994327cbf06934b1
vulkan: enum generator: Stop using iterparse

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.

Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/vulkan/util/gen_enum_to_str.py