diff options
author | Kristian H. Kristensen <[email protected]> | 2020-02-27 11:38:53 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-05 15:23:31 +0000 |
commit | 9f9432d56c055b9704a76cad44da88d5e12f825c (patch) | |
tree | 4c2bbb6e64f97819bd5dd7fbaaa66d1f6dd41e9e /src/freedreno | |
parent | 986e92f0ea803caf014adc40e900bc774af71da3 (diff) |
Revert "spirv: Use a simpler and more correct implementaiton of tanh()"
This reverts commit da1c49171d0df185545cfbbd600e287f7c6160fa.
The reduced formula has precision problems on fp16 around 0. Bring
back the old formula, but make sure to keep the clamping.
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4054>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4054>
Diffstat (limited to 'src/freedreno')
0 files changed, 0 insertions, 0 deletions