aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.vulkan.am
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-01-16 14:23:29 -0800
committerJason Ekstrand <[email protected]>2018-01-23 00:15:40 -0800
commitdd088d4bec74f37ffe4cd02626a6a8af93fdebac (patch)
tree644e2d71707045282f340eec9483edb6dbe13aba /src/intel/Makefile.vulkan.am
parentffb10bfd8e6ef3a325b733f302fefd4203ee05b9 (diff)
anv/extensions: Generate a header file with extension tables
This allows us better introspection into extensions. Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/intel/Makefile.vulkan.am')
-rw-r--r--src/intel/Makefile.vulkan.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 3e385ffd033..7823b608804 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -44,7 +44,17 @@ vulkan/anv_extensions.c: vulkan/anv_extensions_gen.py \
$(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_extensions_gen.py \
--xml $(vulkan_api_xml) \
--xml $(vk_android_native_buffer_xml) \
- --out $@
+ --out-c $@
+
+vulkan/anv_extensions.h: vulkan/anv_extensions_gen.py \
+ vulkan/anv_extensions.py \
+ $(vulkan_api_xml) \
+ $(vk_android_native_buffer_xml)
+ $(MKDIR_GEN)
+ $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_extensions_gen.py \
+ --xml $(vulkan_api_xml) \
+ --xml $(vk_android_native_buffer_xml) \
+ --out-h $@
BUILT_SOURCES += $(VULKAN_GENERATED_FILES)
CLEANFILES += \