diff options
author | Mauro Rossi <[email protected]> | 2019-09-21 17:48:52 +0200 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-09-30 09:10:11 -0700 |
commit | 769a18d1f3dceb5a9c055835d8d6437fd55d44b9 (patch) | |
tree | bf3a94036f463adfd10c811bcdca1e84f4662ce1 /src/compiler | |
parent | cb2649768f1244dabd3cbb565d345146250e4131 (diff) |
android: compiler/nir: build nir_divergence_analysis.c
Prerequisite to avoid following radv linking error happening with aco
FAILED: out/target/product/x86_64/obj_x86/SHARED_LIBRARIES/vulkan.radv_intermediates/LINKED/vulkan.radv.so
...
external/mesa/src/amd/compiler/aco_instruction_selection_setup.cpp:178:
error: undefined reference to 'nir_divergence_analysis'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
Fixes: df86c5f ("nir: add divergence analysis pass.")
Signed-off-by: Mauro Rossi <[email protected]>
(cherry picked from commit 268fb10e9c9a2943e42349d39f20f681a915150e)
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index edf1b936ac1..1e083087e35 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -217,6 +217,7 @@ NIR_FILES = \ nir/nir_control_flow_private.h \ nir/nir_deref.c \ nir/nir_deref.h \ + nir/nir_divergence_analysis.c \ nir/nir_dominance.c \ nir/nir_format_convert.h \ nir/nir_from_ssa.c \ |