From ece0c0439f61f1e460349113a4490807e9939071 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 6 Jul 2017 02:14:53 +0200 Subject: [PATCH] radeonsi: don't call gallivm_init_llvm_targets MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's for initializing the native (x86) target. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c index d5e988edebf..3f20cd1d03d 100644 --- a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c +++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c @@ -68,7 +68,6 @@ void si_llvm_add_attribute(LLVMValueRef F, const char *name, int value) static void init_amdgpu_target() { - gallivm_init_llvm_targets(); LLVMInitializeAMDGPUTargetInfo(); LLVMInitializeAMDGPUTarget(); LLVMInitializeAMDGPUTargetMC(); -- 2.30.2