vulkan: provide vk.xml as argument to the python generator
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 28 Feb 2017 18:53:04 +0000 (18:53 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Feb 2017 18:53:04 +0000 (18:53 +0000)
commitca7d2025a7547275101efbca0b45adb67f8fa59d
tree8fb0fbc0c67efe47a9c9e6a3ab9b1469e62e3e6f
parent14281c9035d6b30cda08fd6ab573ee3bfafa2c2d
vulkan: provide vk.xml as argument to the python generator

Do not hardcode the file in the python script, but pass it via the build
system(s). The latter is the only one that should know about the file
location/tree structure.

Cc: Dylan Baker <dylan@pnwbakers.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/vulkan/Android.mk
src/vulkan/Makefile.am
src/vulkan/util/gen_enum_to_str.py