From 440fe0eb4302d30651f1e870e674d23de530d868 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 7 Jun 2019 16:04:25 +0100 Subject: 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 --- src/compiler/nir/nir_lower_to_source_mods.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3