anv: Fix out-of-tree build
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Wed, 10 Feb 2016 23:52:29 +0000 (15:52 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Wed, 10 Feb 2016 23:54:28 +0000 (15:54 -0800)
We need to be able to find the generated nir_opcodes.h header.

src/vulkan/Makefile.am

index 36bea427c6670f95141fec05e4aad6ada91ac48f..a3b05faeae8fb6bda2b26d9f8af9a2a2d4d2c7ea 100644 (file)
@@ -64,6 +64,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/isl/ \
        -I$(top_builddir)/src \
        -I$(top_builddir)/src/compiler \
+       -I$(top_builddir)/src/compiler/nir \
        -I$(top_builddir)/src/vulkan
 
 libvulkan_la_CFLAGS = $(CFLAGS) -Wno-override-init