diff options
author | José Fonseca <[email protected]> | 2010-03-03 12:00:25 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-03-03 12:02:26 +0000 |
commit | 9f9b44222f45a4548070c1019674abe173e2f253 (patch) | |
tree | 3981d63c22275876e9d970d086247c280f6cd441 /src/gallium/drivers/llvmpipe/lp_jit.c | |
parent | a9e6da7b4cd2019e5ac501bfa1d1aeff49e1982c (diff) |
llvmpipe: Centralize LLVM initialization.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_jit.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_jit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_jit.c b/src/gallium/drivers/llvmpipe/lp_jit.c index d3d7e26882d..b666ffc8043 100644 --- a/src/gallium/drivers/llvmpipe/lp_jit.c +++ b/src/gallium/drivers/llvmpipe/lp_jit.c @@ -37,6 +37,7 @@ #include "util/u_memory.h" #include "util/u_cpu_detect.h" +#include "gallivm/lp_bld_init.h" #include "lp_debug.h" #include "lp_screen.h" #include "gallivm/lp_bld_intr.h" @@ -148,8 +149,7 @@ lp_jit_screen_init(struct llvmpipe_screen *screen) util_cpu_caps.has_sse4_1 = 0; #endif - LLVMLinkInJIT(); - LLVMInitializeNativeTarget(); + lp_build_init(); screen->module = LLVMModuleCreateWithName("llvmpipe"); |