Mesa (staging/19.2): android: compiler/nir: build nir_divergence_analysis.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Sep 30 16:13:22 UTC 2019
Module: Mesa
Branch: staging/19.2
Commit: 769a18d1f3dceb5a9c055835d8d6437fd55d44b9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=769a18d1f3dceb5a9c055835d8d6437fd55d44b9
Author: Mauro Rossi <issor.oruam at gmail.com>
Date: Sat Sep 21 17:48:52 2019 +0200
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 <issor.oruam at gmail.com>
(cherry picked from commit 268fb10e9c9a2943e42349d39f20f681a915150e)
---
src/compiler/Makefile.sources | 1 +
1 file changed, 1 insertion(+)
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 \
More information about the mesa-commit
mailing list