From 08f801d6dbb301ce330c689171c86b5b487ee310 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Fri, 15 May 2026 19:29:00 +0200 Subject: [PATCH] r600/sfn: Pin alu sources as well when registers are pinned Signed-off-by: Gert Wollny Assisted-by: Copilot (auto mode) Part-of: --- src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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