And set it in the MOV instructions that copy the temporary to the
original destination if the generator instruction had it set.
Reviewed-by: Matt Turner <mattst88@gmail.com>
a->conditional_mod == b->conditional_mod &&
a->dst.type == b->dst.type &&
a->dst.writemask == b->dst.writemask &&
+ a->force_writemask_all == b->force_writemask_all &&
a->regs_written == b->regs_written &&
operands_match(a, b);
}
for (unsigned i = 0; i < entry->generator->regs_written; ++i) {
vec4_instruction *copy = MOV(offset(entry->generator->dst, i),
offset(entry->tmp, i));
+ copy->force_writemask_all =
+ entry->generator->force_writemask_all;
entry->generator->insert_after(block, copy);
}