commit | 06c5875fd6b8fa387a103bd0c6fad4fa5ef847a5 | [log] [tgz] |
---|---|---|
author | Albert Astals Cid <aacid@kde.org> | Wed Feb 26 23:05:51 2020 +0100 |
committer | Albert Astals Cid <tsdgeos@yahoo.es> | Sat Apr 18 19:55:45 2020 +0000 |
tree | 0c8f53e84198b1e808e9aef4100a47996d721665 | |
parent | 94cb129d514b748db1342c6208ae4b7390bd33da [diff] |
Fix promotion of floats to doubles Use the f variants of the math functions if the input parameter is a float, saves converting from float to double and running the double variant of the math function for gaining no precision at all Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3969>