From 0e4432bfbaef1bca65239848c373cd683f083ee0 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 10 Apr 2020 19:41:15 -0400 Subject: [PATCH] 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: --- src/panfrost/bifrost/bifrost_compile.h | 1 + 1 file changed, 1 insertion(+) 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, -- 2.30.2