diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-06-24 19:35:08 -0400 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-07-02 14:59:29 -0400 |
commit | b9f501bc6bc52c25bef86a24b49fda4e92fcd924 (patch) | |
tree | fc5b06c48d86ae8c1273dd2f3c0521575ab2d70a /src/gallium/drivers/radeon | |
parent | 141f8fe1d100f66afe5217a8a33c17fce11ee8a8 (diff) | |
download | external_mesa3d-b9f501bc6bc52c25bef86a24b49fda4e92fcd924.zip external_mesa3d-b9f501bc6bc52c25bef86a24b49fda4e92fcd924.tar.gz external_mesa3d-b9f501bc6bc52c25bef86a24b49fda4e92fcd924.tar.bz2 |
radeon/llvm: Use the llvm.rsq.clamped intrinsic for RSQ
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Tested-by: Laurent Carlier <lordheavym@gmail.com>
https://bugs.freedesktop.org/show_bug.cgi?id=80015
CC: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c index 217fa32..119e613 100644 --- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c +++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c @@ -1385,7 +1385,7 @@ void radeon_llvm_context_init(struct radeon_llvm_context * ctx) bld_base->rsq_action.emit = build_tgsi_intrinsic_nomem; #if HAVE_LLVM >= 0x0305 - bld_base->rsq_action.intr_name = "llvm.AMDGPU.rsq."; + bld_base->rsq_action.intr_name = "llvm.AMDGPU.rsq.clamped.f32"; #else bld_base->rsq_action.intr_name = "llvm.AMDGPU.rsq"; #endif |