nir: Remove nir_alu_dest::write_mask
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:
committed by
Marge Bot
parent
f5b09fefe3
commit
42ee8a55dd
@@ -196,7 +196,6 @@ instr_try_combine(struct set *instr_set, nir_instr *instr1, nir_instr *instr2)
|
||||
nir_alu_instr *new_alu = nir_alu_instr_create(b.shader, alu1->op);
|
||||
nir_ssa_dest_init(&new_alu->instr, &new_alu->dest.dest, total_components,
|
||||
alu1->dest.dest.ssa.bit_size);
|
||||
new_alu->dest.write_mask = (1 << total_components) - 1;
|
||||
new_alu->instr.pass_flags = alu1->instr.pass_flags;
|
||||
|
||||
/* If either channel is exact, we have to preserve it even if it's
|
||||
|
||||
Reference in New Issue
Block a user