nir: Fix out-of-tree build for spirv2nir
This needs to be able to find the generated nir_opcodes.h header.
This commit is contained in:
parent
9be5a4bc29
commit
9cc939d82f
|
@ -179,6 +179,11 @@ glsl_glsl_test_LDADD = \
|
|||
spirv2nir_SOURCES = \
|
||||
nir/spirv2nir.c
|
||||
|
||||
spirv2nir_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
-I$(top_builddir)/src/compiler/nir \
|
||||
-I$(top_srcdir)/src/compiler/nir
|
||||
|
||||
spirv2nir_LDADD = \
|
||||
nir/libnir.la \
|
||||
$(top_builddir)/src/util/libmesautil.la \
|
||||
|
|
Loading…
Reference in New Issue