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

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to