diff options
Diffstat (limited to 'src/vulkan/Makefile.am')
-rw-r--r-- | src/vulkan/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am index 1010863846a..291171d836a 100644 --- a/src/vulkan/Makefile.am +++ b/src/vulkan/Makefile.am @@ -70,7 +70,10 @@ libvulkan_la_SOURCES = \ formats.c \ compiler.cpp -BUILT_SOURCES = entrypoints.h entrypoints.c +BUILT_SOURCES = \ + entrypoints.h \ + entrypoints.c \ + meta-spirv.h entrypoints.h : vk_gen.py $(vulkan_include_HEADERS) $(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) $< header > $@ @@ -78,6 +81,9 @@ entrypoints.h : vk_gen.py $(vulkan_include_HEADERS) entrypoints.c : vk_gen.py $(vulkan_include_HEADERS) $(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) $< code > $@ +%-spirv.h: %.c glsl_scraper.py + $(AM_V_GEN) $(PYTHON2) $(srcdir)/glsl_scraper.py --glsl-only -o $@ $< + CLEANFILES = entrypoints.h entrypoints.c bin_PROGRAMS = vk |