mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
vk: Add an _autogen suffix autogenerated spirv file names
This prevents make from stomping on nir_spirv.h
This commit is contained in:
parent
6a7ca4ef2c
commit
0deae66eb1
2 changed files with 3 additions and 3 deletions
|
|
@ -82,7 +82,7 @@ libvulkan_la_SOURCES = \
|
|||
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 > $@
|
||||
|
|
@ -90,7 +90,7 @@ anv_entrypoints.h : anv_entrypoints_gen.py $(vulkan_include_HEADERS)
|
|||
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)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue