[Mesa-dev] [PATCH] android: radv/ac: Fix nir.h include
Mauro Rossi
issor.oruam at gmail.com
Sat Apr 22 10:13:37 UTC 2017
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
#include "nir/nir.h"
^
external/mesa/src/compiler/nir/nir.h:48:10: fatal error: 'nir_opcodes.h' file not found
#include "nir_opcodes.h"
^
Fixes: 224cf29 "radv/ac: add initial pre-pass for shader info gathering"
---
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 0e0401b546..fb82e000c3 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.11.0
More information about the mesa-dev
mailing list