diff options
author | Vasily Khoruzhick <[email protected]> | 2019-04-07 13:24:45 -0700 |
---|---|---|
committer | Erico Nunes <[email protected]> | 2019-05-07 15:25:21 +0000 |
commit | e67e4e90b2cac998d6a6ad15735499eddb4fbe5d (patch) | |
tree | 8c5ea2257875082287c7fdc44b1e6c72e9e199dc /src/gallium | |
parent | b15c46e6bf4cd375ae0b580bd1a0ec139e8dd3ef (diff) |
nir: implement lowering for fsin and fcos
Lower sin and cos using Nick's fast sin/cos approximation from
https://web.archive.org/web/20180105155939/http://forum.devmaster.net/t/fast-and-accurate-sine-cosine/9648
It's suitable for GLES2, but it throws warnings in dEQP GLES3 precision tests.
Reviewed-by: Connor Abbott <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Tested-by: Qiang Yu <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions