Android: fix a missing nir_intrinsics.h error
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 24 May 2018 07:03:31 +0000 (15:03 +0800)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 21 Jul 2018 06:50:23 +0000 (08:50 +0200)
commite7ffd3fb0899a897019a8968e5f976c310fc3e7c
tree83790192b86c04b0214fe2008fc8213f7b155bf4
parente1febbefe84374cb18f724bb289382a8aa6a3539
Android: fix a missing nir_intrinsics.h error

The commit 76dfed8ae2d5 changed nir_intrinsics.h to be a generated
header, but the corresponding dependency was not updated for Android.
It causes the error:

[  0% 19/4336] target  C: libmesa_pipe_radeonsi <= external/mesa/src/gallium/drivers/radeonsi/si_debug.c
...
In file included from external/mesa/src/gallium/drivers/radeonsi/si_debug.c:25:
In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.h:28:
In file included from external/mesa/src/gallium/drivers/radeonsi/si_shader.h:140:
In file included from external/mesa/src/amd/common/ac_llvm_build.h:30:
external/mesa/src/compiler/nir/nir.h:966:10: fatal error: 'nir_intrinsics.h' file not found
         ^~~~~~~~~~~~~~~~~~
1 error generated.

Fixes: 76dfed8ae2d5 ("nir: mako all the intrinsics")
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Mauro Rossi <issor.oruam@gmail.com>
src/compiler/Android.nir.gen.mk
src/gallium/drivers/radeonsi/Android.mk