diff --git a/src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp b/src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp index 1dbef9da139..92ba939bbbe 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp @@ -742,6 +742,10 @@ AluInstr::pin_registers() if (m_dest) m_dest->pin_to_chan(); + for (auto& src : m_src) { + if (auto reg = src->as_register()) + reg->pin_to_chan(); + } } bool