Skip to content

Android: Fix build issue without LLVM

Roman Stratiienko requested to merge roman.stratiienko/mesa:fix-build-pr into master

Some of the latest changes are causing the following build error on Android:

error: redefinition of 'nir_tgsi_scan_shader'
void nir_tgsi_scan_shader(const struct nir_shader *nir,
note: previous definition is here
static inline void nir_tgsi_scan_shader(const struct nir_shader *nir,

Include nir_to_tgsi_info.c and nir_to_tgsi_info.h into the build only if LLVM is enabled.

Signed-off-by: Roman Stratiienko

Merge request reports