From 45f9d58668079803abe64d2f104468ee118f78ea Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 4 Jul 2018 00:13:04 -0400 Subject: radeonsi: fix compiler breakage Broken by d853d3a59bd5f8720a5b021bcd64a193d370b623. --- src/gallium/drivers/radeonsi/si_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index d047807dd20..35ddb114d04 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -114,6 +114,7 @@ static void si_init_compiler(struct si_screen *sscreen, (!sscreen->llvm_has_working_vgpr_indexing ? AC_TM_PROMOTE_ALLOCA_TO_SCRATCH : 0) | (sscreen->debug_flags & DBG(CHECK_IR) ? AC_TM_CHECK_IR : 0); + ac_init_llvm_once(); ac_init_llvm_compiler(compiler, true, sscreen->info.family, tm_options); } -- cgit v1.2.3