freedreno/tests: Convert to srcs/dsts

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11469>
This commit is contained in:
Connor Abbott 2021-06-18 16:12:31 +02:00 committed by Marge Bot
parent bff83fc42b
commit 132dfacdcb

View file

@ -123,7 +123,7 @@ fixup_wrmask(struct ir3 *ir)
struct ir3_block *block = ir3_start_block(ir);
foreach_instr_safe (instr, &block->instr_list) {
instr->regs[0]->wrmask = MASK(instr->repeat + 1);
instr->dsts[0]->wrmask = MASK(instr->repeat + 1);
foreach_src (reg, instr) {
if (reg->flags & (IR3_REG_CONST | IR3_REG_IMMED))
continue;