aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-07-04 00:13:04 -0400
committerMarek Olšák <[email protected]>2018-07-04 00:13:38 -0400
commit45f9d58668079803abe64d2f104468ee118f78ea (patch)
tree98ec0b6fec117a241d2af9f4afb398a219c0c345 /src/gallium/drivers/radeonsi
parent5b32b246cf6015054cd2b8901062d9e161188ebb (diff)
radeonsi: fix compiler breakage
Broken by d853d3a59bd5f8720a5b021bcd64a193d370b623.
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c1
1 files changed, 1 insertions, 0 deletions
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);
}