From: Alyssa Rosenzweig Date: Fri, 10 Apr 2020 23:41:15 +0000 (-0400) Subject: pan/bi: Lower fsqrt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e4432bfbaef1bca65239848c373cd683f083ee0;p=mesa.git pan/bi: Lower fsqrt For G72+ anyway. G71 will want something a bit more fine grained. I hope this has enough precision for GL (the blob apparently does some exponent fixup). Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h index ddfde64d472..73e6847891c 100644 --- a/src/panfrost/bifrost/bifrost_compile.h +++ b/src/panfrost/bifrost/bifrost_compile.h @@ -42,6 +42,7 @@ static const nir_shader_compiler_options bifrost_nir_options = { .lower_fpow = true, .lower_find_lsb = true, .lower_fdph = true, + .lower_fsqrt = true, .lower_wpos_pntc = true, .lower_fsign = true,