aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2020-02-22 16:20:10 +0100
committerMauro Rossi <[email protected]>2020-03-04 22:25:36 +0100
commit01778d1e3cc675e6c7627e5b7ef7acd5ad290bfb (patch)
tree5702073ad179ea19ff7c4b8dd3609ce8b9c317a9
parentb20693be416ddeea0bef050edb2acd13016d6532 (diff)
android: aco: fix PIPE_FORMAT related building errors
Fixes the following building errors: In file included from external/mesa/src/amd/compiler/aco_dead_code_analysis.cpp:25: In file included from external/mesa/src/amd/compiler/aco_ir.h:33: In file included from external/mesa/src/compiler/nir/nir.h:40: external/mesa/src/util/format/u_format.h:33:10: fatal error: 'pipe/p_format.h' file not found #include "pipe/p_format.h" ^~~~~~~~~~~~~~~~~ ... In file included from external/mesa/src/amd/compiler/aco_dominance.cpp:31: In file included from external/mesa/src/amd/compiler/aco_ir.h:33: In file included from external/mesa/src/compiler/nir/nir.h:40: external/mesa/src/util/format/u_format.h:33:10: fatal error: 'pipe/p_format.h' file not found #include "pipe/p_format.h" ^~~~~~~~~~~~~~~~~ ... In file included from external/mesa/src/amd/compiler/aco_instruction_selection.cpp:31: In file included from external/mesa/src/amd/common/ac_shader_util.h:32: In file included from external/mesa/src/compiler/nir/nir.h:40: external/mesa/src/util/format/u_format.h:33:10: fatal error: 'pipe/p_format.h' file not found #include "pipe/p_format.h" ^~~~~~~~~~~~~~~~~ 3 errors generated. Fixes: 8d07d661 ("glsl,nir: Switch the enum representing shader image formats to PIPE_FORMAT.") Signed-off-by: Mauro Rossi <[email protected]> Reviewed-by: Gert Wollny <[email protected]>
-rw-r--r--src/amd/Android.compiler.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/Android.compiler.mk b/src/amd/Android.compiler.mk
index a62c93d9d33..3f544ac3cf1 100644
--- a/src/amd/Android.compiler.mk
+++ b/src/amd/Android.compiler.mk
@@ -72,6 +72,7 @@ LOCAL_C_INCLUDES := \
$(MESA_TOP)/src/amd/common \
$(MESA_TOP)/src/amd/compiler \
$(MESA_TOP)/src/compiler/nir \
+ $(MESA_TOP)/src/gallium/include \
$(MESA_TOP)/src/mapi \
$(MESA_TOP)/src/mesa \
$(intermediates)/compiler