diff options
author | Jason Ekstrand <[email protected]> | 2015-05-19 11:28:08 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-05-21 11:39:54 -0700 |
commit | f17e835c260e1f49d59d78089c30ab9de87c5278 (patch) | |
tree | 86b707faff7cea2192e27b1dc52db4a7106774bc /src/vulkan/Makefile.am | |
parent | b13c0f469b079c7e2f33c0ce7905ae0d311885e1 (diff) |
vk/meta: Use glsl_scraper for our GLSL source
We are not yet using SPIR-V for meta but this is a first step.
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 |