summaryrefslogtreecommitdiffstats
path: root/src/amd/Android.common.mk
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2017-04-22 12:13:37 +0200
committerEmil Velikov <[email protected]>2017-04-24 18:01:03 +0100
commit11db3d10bbab2fac0e7a1dfef08df72760b6badc (patch)
treebefa7d2e19fdd3810b8f986f2c7b677026a1e33c /src/amd/Android.common.mk
parentb81d85f1754928139f9f01474495e024946aa1b4 (diff)
android: radv/ac: Fix nir.h include
Fixes following building errors due to missing include paths: external/mesa/src/amd/common/ac_shader_info.c:23:10: fatal error: 'nir/nir.h' file not found ^ external/mesa/src/compiler/nir/nir.h:48:10: fatal error: 'nir_opcodes.h' file not found ^ Fixes: 224cf29 "radv/ac: add initial pre-pass for shader info gathering" Acked-by: Dave Airlie <[email protected]> Acked-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/amd/Android.common.mk')
-rw-r--r--src/amd/Android.common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk
index faace71e952..8be38dd3f41 100644
--- a/src/amd/Android.common.mk
+++ b/src/amd/Android.common.mk
@@ -49,6 +49,8 @@ LOCAL_C_INCLUDES := \
$(MESA_TOP)/include \
$(MESA_TOP)/src \
$(MESA_TOP)/src/amd/common \
+ $(MESA_TOP)/src/compiler \
+ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
$(MESA_TOP)/src/gallium/include \
$(MESA_TOP)/src/gallium/auxiliary \
$(intermediates)/common \