nir: Remove nir_alu_dest::saturate

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:05:53 -04:00
committed by Marge Bot
parent 0bbf458a32
commit d559764e7c
24 changed files with 3 additions and 71 deletions

View File

@@ -1067,9 +1067,6 @@ ntq_emit_cond_to_int(struct vc4_compile *c, enum qpu_cond cond)
static void
ntq_emit_alu(struct vc4_compile *c, nir_alu_instr *instr)
{
/* This should always be lowered to ALU operations for VC4. */
assert(!instr->dest.saturate);
/* Vectors are special in that they have non-scalarized writemasks,
* and just take the first swizzle channel for each argument in order
* into each writemask channel.