diff options
author | Lionel Landwerlin <[email protected]> | 2017-01-12 17:02:04 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-01-14 19:29:44 +0000 |
commit | c7fc310cd1f0fa0ce291521821fa0b7d8539bb87 (patch) | |
tree | fde4f59d431cc09eded22c2faed1fb0dc7bbda5f /src/intel/vulkan/Makefile.am | |
parent | dbd677efb422e1f5c6fa0934131d8c8d59d01f5f (diff) |
anv: generate entry points from vk.xml
v2: rework entry point iteration (Jason)
cleanup unused imports
v3: don't drop header installation (Emil)
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/Makefile.am')
-rw-r--r-- | src/intel/vulkan/Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am index df7645fb130..fba3d663c7a 100644 --- a/src/intel/vulkan/Makefile.am +++ b/src/intel/vulkan/Makefile.am @@ -138,12 +138,14 @@ VULKAN_LIB_DEPS += \ nodist_EXTRA_libvulkan_intel_la_SOURCES = dummy.cpp libvulkan_intel_la_SOURCES = $(VULKAN_GEM_FILES) -anv_entrypoints.h : anv_entrypoints_gen.py $(vulkan_include_HEADERS) - $(AM_V_GEN) cat $(vulkan_include_HEADERS) |\ +vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml + +anv_entrypoints.h : anv_entrypoints_gen.py $(vulkan_api_xml) + $(AM_V_GEN) cat $(vulkan_api_xml) |\ $(PYTHON2) $(srcdir)/anv_entrypoints_gen.py header > $@ -anv_entrypoints.c : anv_entrypoints_gen.py $(vulkan_include_HEADERS) - $(AM_V_GEN) cat $(vulkan_include_HEADERS) |\ +anv_entrypoints.c : anv_entrypoints_gen.py $(vulkan_api_xml) + $(AM_V_GEN) cat $(vulkan_api_xml) |\ $(PYTHON2) $(srcdir)/anv_entrypoints_gen.py code > $@ BUILT_SOURCES = $(VULKAN_GENERATED_FILES) |