mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-10 01:18:18 +02:00
r600/sfn: Pin alu sources as well when registers are pinned
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Assisted-by: Copilot (auto mode) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41945>
This commit is contained in:
parent
2643e12396
commit
08f801d6db
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue