nak: Fix copy-prop for OpPLop3 sources

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26181>
This commit is contained in:
Faith Ekstrand 2023-11-10 14:05:34 -06:00 committed by Marge Bot
parent a65518b625
commit ea453b373d

View file

@ -389,13 +389,13 @@ impl CopyPropPass {
self.add_copy(
dst,
SrcType::Pred,
lop.srcs[i],
lop.srcs[s],
);
} else if op.lut == !LogicOp::SRC_MASKS[s] {
self.add_copy(
dst,
SrcType::Pred,
lop.srcs[i].bnot(),
lop.srcs[s].bnot(),
);
}
}