Mesa (main): android: ac: add include src/util path

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 4 08:43:45 UTC 2021


Module: Mesa
Branch: main
Commit: 60e134e83ef9af36170e8517582a446d622598f5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60e134e83ef9af36170e8517582a446d622598f5

Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Wed Jun  2 19:28:25 2021 +0200

android: ac: add include src/util path

Fixes the following building error:

external/mesa/src/amd/common/ac_nir_lower_ngg.c:27:10: fatal error: 'u_math.h' file not found
         ^~~~~~~~~~
1 error generated.

Fixes: 3d589b8b464 ("ac: Add new NIR pass to lower NGG VS/TES.")
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11177>

---

 src/amd/Android.common.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk
index 23bf129d156..83c44d7225b 100644
--- a/src/amd/Android.common.mk
+++ b/src/amd/Android.common.mk
@@ -100,6 +100,7 @@ LOCAL_C_INCLUDES := \
 	$(MESA_TOP)/src/gallium/include \
 	$(MESA_TOP)/src/gallium/auxiliary \
 	$(MESA_TOP)/src/mesa \
+	$(MESA_TOP)/src/util \
 	$(intermediates)/common
 
 LOCAL_EXPORT_C_INCLUDE_DIRS := \



More information about the mesa-commit mailing list