From: Eric Engestrom Date: Fri, 7 Jun 2019 15:04:25 +0000 (+0100) Subject: nir: fix s/&&/||/ typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=440fe0eb4302d30651f1e870e674d23de530d868;p=mesa.git nir: fix s/&&/||/ typo Fixes: cd73b6174b093b75f581 "nir/lower_to_source_mods: Stop turning add, sat, and neg into mov" Signed-off-by: Eric Engestrom Reviewed-by: Jason Ekstrand --- diff --git a/src/compiler/nir/nir_lower_to_source_mods.c b/src/compiler/nir/nir_lower_to_source_mods.c index c4ba604b32e..f3d004ccdd2 100644 --- a/src/compiler/nir/nir_lower_to_source_mods.c +++ b/src/compiler/nir/nir_lower_to_source_mods.c @@ -98,7 +98,7 @@ nir_lower_to_source_mods_block(nir_block *block, if (!parent->src[0].src.is_ssa) continue; - if (!lower_abs && (parent->op == nir_op_fabs && + if (!lower_abs && (parent->op == nir_op_fabs || parent->op == nir_op_iabs)) continue;