OSDN Git Service

vulkan/util: Add generator for enum_to_str functions
authorDylan Baker <dylan@pnwbakers.com>
Wed, 15 Feb 2017 23:41:50 +0000 (15:41 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 22 Feb 2017 21:12:02 +0000 (13:12 -0800)
commite9dcb17962f7e58a81c93bae7bd33885675b1043
tree55332d8cdb6783ab65fc8d34e4df8168fb38dcab
parentbda59f6e417b68985ffc8dbb92fcfe19ba12f7bf
vulkan/util: Add generator for enum_to_str functions

This adds a python generator to produce enum_to_str functions for
Vulkan from the vk.xml API description. It supports extensions as well
as core API features, and the generator works with both python2 and
python3.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Acked-by: Matt Turner <mattst88@gmail.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
configure.ac
src/Makefile.am
src/intel/vulkan/Makefile.am
src/intel/vulkan/anv_util.c
src/vulkan/util/.gitignore [new file with mode: 0644]
src/vulkan/util/Makefile.am [new file with mode: 0644]
src/vulkan/util/gen_enum_to_str.py [new file with mode: 0644]