diff options
author | Rhys Perry <[email protected]> | 2020-02-03 21:19:52 +0000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-07 10:39:19 +0000 |
commit | abc4a8285776dcded21d0b7f3035c9858d061611 (patch) | |
tree | 9f2dabe31f5f5d237e8a46e5898bfc465e6e5621 /src/amd | |
parent | d8a27c0bb3049963934c77d104db39ecf610e3b9 (diff) |
nir: make fsat return 0.0 with NaN instead of passing it through
This is how lower_fsat and ACO implements fsat and is a more useful
definition since it can be exactly created from fmin(fmax(a, 0.0), 1.0).
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3716>
Diffstat (limited to 'src/amd')
0 files changed, 0 insertions, 0 deletions