r600/sfn: nir_op_vec results don't need channel pinning

This will be handled by the op that uses the vector

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20205>
This commit is contained in:
Gert Wollny 2022-12-08 11:40:23 +01:00 committed by Marge Bot
parent 9b34969459
commit b623e1a0ef

View file

@ -2593,7 +2593,7 @@ emit_create_vec(const nir_alu_instr& instr, unsigned nc, Shader& shader)
for (unsigned i = 0; i < nc; ++i) {
if (instr.dest.write_mask & (1 << i)) {
auto src = value_factory.src(instr.src[i].src, instr.src[i].swizzle[0]);
auto dst = value_factory.dest(instr.dest.dest, i, pin_chan);
auto dst = value_factory.dest(instr.dest.dest, i, pin_none);
ir = new AluInstr(op1_mov, dst, src, {alu_write});
if (instr.dest.saturate)