android: gallium/radeonsi: add nir include path
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 25 Apr 2021 13:48:28 +0000 (15:48 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Mon, 26 Apr 2021 21:14:52 +0000 (23:14 +0200)
commite213bfd3304856b671ef62fb5d144a8f5673cf78
treee67396839fcd08362219d7f0f305312b13da1dc8
parent7888ef8c480c7931c51d1b7cfbc72cc31415eaea
android: gallium/radeonsi: add nir include path

Since generated nir headers are included, it makes sense to include nir path

Fixes the following building error:

FAILED: out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_pipe_radeonsi_intermediates/si_shader_nir.o
...
In file included from external/mesa/src/gallium/drivers/radeonsi/si_shader_nir.c:26:
external/mesa/src/amd/common/ac_nir.h:29:10: fatal error: 'nir.h' file not found
         ^~~~~~~
1 error generated.

Cc: 21.0 21.1 <mesa-stable@lists.freedesktop.org>
Fixes: 1c702a82397b ("ac: move ac_lower_indirect_derefs() outside of the LLVM dir")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10443>
src/gallium/drivers/radeonsi/Android.mk