summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_clip.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-10-20 12:07:41 -0500
committerJason Ekstrand <[email protected]>2018-10-22 14:24:15 -0500
commitce36f412c99340814c429f99694423af61825c64 (patch)
treecfefc6770fd801a15214bac732a61b9eef620710 /src/compiler/nir/nir_lower_clip.c
parent7bae7828aabc93bc575d637794ee4b236af62bc8 (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