nir: Drop nir_alu_src::{negate,abs}

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24432>
This commit is contained in:
Alyssa Rosenzweig
2023-08-01 11:55:12 -04:00
committed by Marge Bot
parent efc1c3261a
commit a8013644a1
31 changed files with 6 additions and 141 deletions

View File

@@ -813,9 +813,6 @@ try_eval_const_alu(nir_const_value *dest, nir_alu_instr *alu,
return false;
}
}
/* We shouldn't have any source modifiers in the optimization loop. */
assert(!alu->src[i].abs && !alu->src[i].negate);
}
if (bit_size == 0)