mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
r600/sfn: Don't override a chgr pinning during copy propagation
Fixes: c0b6c59e0 (r600/sfn: Copy propagate into TEX source)
Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9998
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25741>
This commit is contained in:
parent
7fb561eff2
commit
e9c21952aa
1 changed files with 2 additions and 1 deletions
|
|
@ -640,7 +640,8 @@ CopyPropFwdVisitor::propagate_to(RegisterVec4& value, Instr *instr)
|
|||
|
||||
value.set_value(i, new_src[i]);
|
||||
|
||||
if (new_src[i]->pin() != pin_fully) {
|
||||
if (new_src[i]->pin() != pin_fully &&
|
||||
new_src[i]->pin() != pin_chgr) {
|
||||
if (new_src[i]->pin() == pin_chan)
|
||||
new_src[i]->set_pin(pin_chgr);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue