android: r600/sfn: fix includes and libmesa_nir dependency
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 22 Feb 2020 15:20:10 +0000 (16:20 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Wed, 4 Mar 2020 21:25:36 +0000 (22:25 +0100)
commit88c68c0ac7618c56ba17755ea6b93827437dd46a
tree19b7ffe439acc5ba82e202f0744f5da38be5096d
parent01778d1e3cc675e6c7627e5b7ef7acd5ad290bfb
android: r600/sfn: fix includes and libmesa_nir dependency

Fixes the following building errors:

In file included from external/mesa/src/gallium/drivers/r600/sfn/sfn_debug.cpp:28:
In file included from external/mesa/src/gallium/drivers/r600/sfn/sfn_debug.h:34:
In file included from external/mesa/src/compiler/nir/nir.h:41:
In file included from external/mesa/src/compiler/nir_types.h:36:
external/mesa/src/compiler/glsl_types.h:38:10: fatal error: 'main/config.h' file not found
#include "main/config.h"
         ^~~~~~~~~~~~~~~
1 error generated.

In file included from external/mesa/src/gallium/drivers/r600/sfn/sfn_debug.cpp:28:
In file included from external/mesa/src/gallium/drivers/r600/sfn/sfn_debug.h:34:
external/mesa/src/compiler/nir/nir.h:50:10: fatal error: 'nir_opcodes.h' file not found
#include "nir_opcodes.h"
         ^~~~~~~~~~~~~~~
1 error generated.

Fixes: f718ac62 ("r600/sfn: Add a basic nir shader backend")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
src/gallium/drivers/r600/Android.mk