[Mesa-dev] [PATCH v3] compiler/glsl: fix precision problem of tanh

Ilia Mirkin imirkin at alum.mit.edu
Tue Dec 20 01:24:32 UTC 2016


On Mon, Dec 19, 2016 at 8:17 PM, Matt Turner <mattst88 at gmail.com> wrote:
> On Mon, Dec 19, 2016 at 5:12 PM, Giuseppe Bilotta
> <giuseppe.bilotta at gmail.com> wrote:
>> Just one question though —not knowing much of the shader language, can
>> I expect expm1 to be available?
>
> No, expm1 doesn't exist in GLSL.

And - more importantly - not in the hardware either. At least not on
NVIDIA, and on a brief scan, not Intel either (SKL "math"
instruction).

  -ilia


More information about the mesa-dev mailing list