From 11db3d10bbab2fac0e7a1dfef08df72760b6badc Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 22 Apr 2017 12:13:37 +0200 Subject: [PATCH] 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 Acked-by: Emil Velikov --- src/amd/Android.common.mk | 2 ++ 1 file changed, 2 insertions(+) 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 \ -- 2.30.2