Revert "glsl: Use a simpler formula for tanh"
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 27 Feb 2020 00:52:45 +0000 (16:52 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 5 Mar 2020 15:23:31 +0000 (15:23 +0000)
commit986e92f0ea803caf014adc40e900bc774af71da3
treebad52515464d0e1e5945b489d21c5c27020c3fcb
parentbc5724faf40df9aec6c8e2e52f4017db35d21330
Revert "glsl: Use a simpler formula for tanh"

This reverts commit 9807f502eb7a023be619a14119388b2a43271b0e.

The simplified formula doesn't pass the tanh dEQP tests when we lower
to fp16 math.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4054>
src/compiler/glsl/builtin_functions.cpp