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

Author: Marek Olšák <[email protected]>
Date:   Thu Sep  3 04:42:38 2020 -0400

radeonsi: remove redundant no-signed-zero-fp-math LLVM attribute

Already set by AC_FLOAT_MODE_DEFAULT_OPENGL.

Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6284>

---

 src/gallium/drivers/radeonsi/si_shader_llvm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_shader_llvm.c 
b/src/gallium/drivers/radeonsi/si_shader_llvm.c
index 3b1e4dafec1..26aabf3e7fc 100644
--- a/src/gallium/drivers/radeonsi/si_shader_llvm.c
+++ b/src/gallium/drivers/radeonsi/si_shader_llvm.c
@@ -189,8 +189,6 @@ void si_llvm_create_func(struct si_shader_context *ctx, 
const char *name, LLVMTy
                                            ctx->screen->info.address32_hi);
    }
 
-   LLVMAddTargetDependentFunctionAttr(ctx->main_fn, "no-signed-zeros-fp-math", 
"true");
-
    ac_llvm_set_workgroup_size(ctx->main_fn, max_workgroup_size);
 }
 

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

Reply via email to