diff options
author | Jason Ekstrand <[email protected]> | 2018-10-20 12:07:41 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-10-22 14:24:15 -0500 |
commit | ce36f412c99340814c429f99694423af61825c64 (patch) | |
tree | cfefc6770fd801a15214bac732a61b9eef620710 /src/compiler/nir/nir_lower_clip.c | |
parent | 7bae7828aabc93bc575d637794ee4b236af62bc8 (diff) |
nir/search_helpers: Use nir_src_is_const and friends
This not only makes them safe for more bit sizes but it also fixes a bug
in is_zero_to_one where it would return true for constant NaN.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_clip.c')
0 files changed, 0 insertions, 0 deletions