From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com>

This needs to be able to find the generated nir_opcodes.h header.
---
 src/compiler/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/compiler/Makefile.am b/src/compiler/Makefile.am
index fe96cb3..8f37448 100644
--- a/src/compiler/Makefile.am
+++ b/src/compiler/Makefile.am
@@ -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         \
-- 
2.5.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to