diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-04-10 19:41:15 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-13 15:44:31 +0000 |
commit | 0e4432bfbaef1bca65239848c373cd683f083ee0 (patch) | |
tree | 936aa14737274d9cbfedef9ce7a0f8fe4989e360 /src/panfrost/bifrost | |
parent | 3025ea6abe97b42bc85fc7f6e6c47bf916da0738 (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4530>
Diffstat (limited to 'src/panfrost/bifrost')
-rw-r--r-- | src/panfrost/bifrost/bifrost_compile.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |