Module: Mesa
Branch: master
Commit: b9f501bc6bc52c25bef86a24b49fda4e92fcd924
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9f501bc6bc52c25bef86a24b49fda4e92fcd924

Author: Tom Stellard <[email protected]>
Date:   Tue Jun 24 19:35:08 2014 -0400

radeon/llvm: Use the llvm.rsq.clamped intrinsic for RSQ

Reviewed-and-Tested-by: Michel Dänzer <[email protected]>
Tested-by: Laurent Carlier <[email protected]>

https://bugs.freedesktop.org/show_bug.cgi?id=80015

CC: "10.1 10.2" <[email protected]>

---

 src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to