r600/sfn: Fix typo

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23702>
This commit is contained in:
Gert Wollny 2023-06-16 17:53:19 +02:00 committed by Marge Bot
parent bd93d6b2fb
commit 47152b6c09
2 changed files with 5 additions and 5 deletions

View file

@ -72,15 +72,15 @@ AluInstr::AluInstr(EAluOp opcode,
if (dest && slots > 1) {
switch (m_opcode) {
case op2_dot_ieee: m_allowed_desk_mask = (1 << (5 - slots)) - 1;
case op2_dot_ieee: m_allowed_dest_mask = (1 << (5 - slots)) - 1;
break;
default:
if (has_alu_flag(alu_is_cayman_trans)) {
m_allowed_desk_mask = (1 << slots) - 1;
m_allowed_dest_mask = (1 << slots) - 1;
}
}
}
assert(!dest || (m_allowed_desk_mask & (1 << dest->chan())));
assert(!dest || (m_allowed_dest_mask & (1 << dest->chan())));
}
AluInstr::AluInstr(EAluOp opcode):

View file

@ -187,7 +187,7 @@ public:
AluInstr *as_alu() override { return this; }
uint8_t allowed_src_chan_mask() const override;
uint8_t allowed_dest_chan_mask() const {return m_allowed_desk_mask;}
uint8_t allowed_dest_chan_mask() const {return m_allowed_dest_mask;}
void inc_ar_uses() { ++m_num_ar_uses;}
auto num_ar_uses() const {return m_num_ar_uses;}
@ -226,7 +226,7 @@ private:
int m_priority{0};
std::set<PRegister, std::less<PRegister>, Allocator<PRegister>> m_extra_dependencies;
AluGroup *m_parent_group{nullptr};
unsigned m_allowed_desk_mask{0xf};
unsigned m_allowed_dest_mask{0xf};
unsigned m_num_ar_uses{0};
};