mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 11:20:11 +01:00
r600/sfn: Fix printing ALU op without dest
e.g. GROUP_BARRIER doesn't have a dest. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
This commit is contained in:
parent
1124c3f1b6
commit
ff98b1b51a
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ void AluInstruction::do_print(std::ostream& os) const
|
||||||
os << "ALU " << alu_ops.at(m_opcode).name;
|
os << "ALU " << alu_ops.at(m_opcode).name;
|
||||||
if (m_flags.test(alu_dst_clamp))
|
if (m_flags.test(alu_dst_clamp))
|
||||||
os << "_CLAMP";
|
os << "_CLAMP";
|
||||||
os << ' ' << *m_dest << " : " ;
|
if (m_dest)
|
||||||
|
os << ' ' << *m_dest << " : " ;
|
||||||
|
|
||||||
for (unsigned i = 0; i < m_src.size(); ++i) {
|
for (unsigned i = 0; i < m_src.size(); ++i) {
|
||||||
int pflags = 0;
|
int pflags = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue