summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/Makefile.am
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-10-17 15:18:36 +1000
committerDave Airlie <[email protected]>2017-10-17 16:50:32 +1000
commit17201a2eb0b1b8538713691e6a46fb56d76cafe8 (patch)
tree17f43b17866e5fd9986760a66bb7a88c9fbc4ebb /src/amd/vulkan/Makefile.am
parentc00256a12c5be3d0f1c222176b62c13c4a2e4b50 (diff)
radv: port to using updated anv entrypoint/extension generator.
This ports radv to using the anv entrypoint/extension generator code. No differences on enabled extensions list in vulkaninfo. Acked-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/Makefile.am')
-rw-r--r--src/amd/vulkan/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/amd/vulkan/Makefile.am b/src/amd/vulkan/Makefile.am
index 19ec3f47f74..7364e54f61c 100644
--- a/src/amd/vulkan/Makefile.am
+++ b/src/amd/vulkan/Makefile.am
@@ -107,12 +107,19 @@ libvulkan_radeon_la_SOURCES = $(VULKAN_GEM_FILES)
vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml
-radv_entrypoints.c: radv_entrypoints_gen.py $(vulkan_api_xml)
+radv_entrypoints.c: radv_entrypoints_gen.py radv_extensions.py $(vulkan_api_xml)
$(MKDIR_GEN)
$(AM_V_GEN)$(PYTHON2) $(srcdir)/radv_entrypoints_gen.py \
--xml $(vulkan_api_xml) --outdir $(builddir)
radv_entrypoints.h: radv_entrypoints.c
+radv_extensions.c: radv_extensions.py \
+ $(vulkan_api_xml)
+ $(MKDIR_GEN)
+ $(AM_V_GEN)$(PYTHON2) $(srcdir)/radv_extensions.py \
+ --xml $(vulkan_api_xml) \
+ --out $@
+
vk_format_table.c: vk_format_table.py \
vk_format_parse.py \
vk_format_layout.csv