OSDN Git Service

Fixes for exp and log functions
authorAlexis Hetu <sugoi@google.com>
Mon, 13 Nov 2017 21:21:11 +0000 (16:21 -0500)
committerAlexis Hétu <sugoi@google.com>
Tue, 14 Nov 2017 18:26:43 +0000 (18:26 +0000)
commit0b7003bdc7590986a01441a6512d0b3bb6fe4f8d
treece6c4e29dfd68895205e2f9db31a6557e0165b42
parent8ef6d1097d9fe71a2461a5040bddb1893bdbed6c
Fixes for exp and log functions

- Fixed how logarithm2() handles infinity
- Fixed a typo in exponential()

These fixes combined fix all dEQP failures for:
sinh, cosh, pow, exp, log, log2

Change-Id: I2d427892032fc5f75909a5609f606a787b08505a
Reviewed-on: https://swiftshader-review.googlesource.com/13708
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/Shader/ShaderCore.cpp