r600/sfn: Propagate pred and exec update flags when splitting ops

Fixes: 125ce0f909 ("r600/sfh: Handle 64 bit comparisons in predicate optimization")

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37383>
This commit is contained in:
Gert Wollny 2025-09-15 22:57:05 +02:00 committed by Marge Bot
parent 6d605a3dde
commit d0edb06951

View file

@ -953,6 +953,10 @@ AluInstr::split(AluGroup& group)
} }
if (has_alu_flag(alu_dst_clamp)) if (has_alu_flag(alu_dst_clamp))
instr->set_alu_flag(alu_dst_clamp); instr->set_alu_flag(alu_dst_clamp);
if (has_alu_flag(alu_update_pred))
instr->set_alu_flag(alu_update_pred);
if (has_alu_flag(alu_update_exec))
instr->set_alu_flag(alu_update_exec);
if (has_alu_flag(alu_write) && m_dest && (dest_slot == m_dest->chan())) if (has_alu_flag(alu_write) && m_dest && (dest_slot == m_dest->chan()))
instr->set_alu_flag(alu_write); instr->set_alu_flag(alu_write);