mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
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>
This commit is contained in:
parent
141f8fe1d1
commit
b9f501bc6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue