summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-07-06 02:14:53 +0200
committerMarek Olšák <[email protected]>2017-07-17 10:50:39 -0400
commitece0c0439f61f1e460349113a4490807e9939071 (patch)
tree5f36bc97eb997de108ddcfa92661e061a32f331d /src/gallium/drivers/radeonsi
parentd308460586d012f3d716bcee1c6c2dc10b0ac668 (diff)
radeonsi: don't call gallivm_init_llvm_targets
It's for initializing the native (x86) target. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c1
1 files changed, 0 insertions, 1 deletions
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();