android: panfrost/encoder: add libmesa_nir static dependency
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 17 Jul 2020 22:11:51 +0000 (00:11 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 18 Jul 2020 06:28:27 +0000 (08:28 +0200)
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>

src/panfrost/Android.encoder.mk

index d913f45b177c2ce120760a2f366efbcea2d19eea..9e57adc40602f6fd562f1bd623a8bc3479ebabdd 100644 (file)
@@ -32,6 +32,7 @@ LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/panfrost/include/
 
 LOCAL_STATIC_LIBRARIES := \
+       libmesa_nir
 
 LOCAL_GENERATED_SOURCES := \