nir: fix s/&&/||/ typo

Fixes: cd73b6174b "nir/lower_to_source_mods: Stop turning add, sat, and neg into mov"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Eric Engestrom 2019-06-07 16:04:25 +01:00
parent b9bbac6234
commit 440fe0eb43
1 changed files with 1 additions and 1 deletions

View File

@ -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;