r600/sfn: drop range pinning for registers after RA
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37847>
This commit is contained in:
Gert Wollny 2025-09-19 14:25:24 +02:00 committed by Marge Bot
parent 5962add398
commit ba35ac29b6
2 changed files with 5 additions and 1 deletions

View file

@ -393,7 +393,11 @@ register_allocation(LiveRangeMap& lrm)
for (auto& entry : comp) {
sfn_log << SfnLog::merge << "Set " << *entry.m_register << " to ";
entry.m_register->set_sel(entry.m_color);
/* No need for any pinning past this point, keeping the flags just makes
* testing more difficult.
*/
entry.m_register->set_pin(pin_none);
entry.m_register->reset_flag(Register::pin_start);
sfn_log << SfnLog::merge << *entry.m_register << "\n";
}
}

View file

@ -2176,7 +2176,7 @@ PROP COLOR_EXPORT_MASK:15
PROP WRITE_ALL_COLORS:1
INPUT LOC:0 VARYING_SLOT:32 INTERP:2
OUTPUT LOC:0 FRAG_RESULT:2 MASK:15
REGISTERS R0.x@fully R0.y@fully R1.xyzw
REGISTERS R0.x R0.y
SHADER
ALU_GROUP_BEGIN
ALU INTERP_ZW __.x : R0.y Param0.x {} VEC_210