This prevents make from stomping on nir_spirv.h
BUILT_SOURCES = \
anv_entrypoints.h \
anv_entrypoints.c \
- anv_meta_spirv.h
+ anv_meta_spirv_autogen.h
anv_entrypoints.h : anv_entrypoints_gen.py $(vulkan_include_HEADERS)
$(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) $< header > $@
anv_entrypoints.c : anv_entrypoints_gen.py $(vulkan_include_HEADERS)
$(AM_V_GEN)cat $(vulkan_include_HEADERS) | $(PYTHON2) $< code > $@
-%_spirv.h: %.c glsl_scraper.py
+%_spirv_autogen.h: %.c glsl_scraper.py
$(AM_V_GEN) $(PYTHON2) $(srcdir)/glsl_scraper.py --glsl-only -o $@ $<
CLEANFILES = $(BUILT_SOURCES)
#include <fcntl.h>
#include "anv_private.h"
-#include "anv_meta_spirv.h"
+#include "anv_meta_spirv_autogen.h"
static void
anv_device_init_meta_clear_state(struct anv_device *device)