android: panfrost/encoder: add libmesa_nir static dependency
Fixes the following build error:
In file included from external/mesa/src/panfrost/encoder/pan_blit.c:34:
In file included from external/mesa/src/panfrost/encoder/../midgard/midgard_compile.h:27:
external/mesa/src/compiler/nir/nir.h:52:10: fatal error: 'nir_opcodes.h' file not found
^~~~~~~~~~~~~~~
1 error generated.
Fixes: 293f251871b ("panfrost: Use Midgard-specific reloads")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5961>
diff --git a/src/panfrost/Android.encoder.mk b/src/panfrost/Android.encoder.mk
index d913f45..9e57adc 100644
--- a/src/panfrost/Android.encoder.mk
+++ b/src/panfrost/Android.encoder.mk
@@ -32,6 +32,7 @@
$(MESA_TOP)/src/panfrost/include/
LOCAL_STATIC_LIBRARIES := \
+ libmesa_nir
LOCAL_GENERATED_SOURCES := \