ac/nir: make ac_build_clamp work on all bit sizes
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 6 Dec 2018 14:23:31 +0000 (14:23 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 19 Feb 2019 11:03:58 +0000 (11:03 +0000)
commitbbbfdef6833610c6812e722ff3f86ba07c92d9a1
treed625aca67f811b19fadabc061d1816cb568df3d8
parent7e5004e30a8bbce34067bf2a9bcfde485936a0c2
ac/nir: make ac_build_clamp work on all bit sizes

v2: don't use ac_get_zerof() and ac_get_onef()
v3: rename "intr" to "name"

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_llvm_build.c