From b623e1a0efea0448c481e09f60921d3bc2f0d6f5 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 8 Dec 2022 11:40:23 +0100 Subject: [PATCH] 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 Part-of: --- src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp b/src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp index ec5fdc0c824..dd620117d91 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp @@ -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)