mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
r600/sfn: fix querying number of sources for LDS ops in readport validation
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37321>
This commit is contained in:
parent
0cd0efbbf9
commit
603af345be
1 changed files with 3 additions and 1 deletions
|
|
@ -750,7 +750,9 @@ AluInstr::check_readport_validation(PRegister old_src, PVirtualValue new_src) co
|
|||
bool success = true;
|
||||
AluReadportReservation rpr_sum;
|
||||
|
||||
unsigned nsrc = alu_ops.at(m_opcode).nsrc;
|
||||
unsigned nsrc = !has_alu_flag(alu_is_lds) ? alu_ops.at(m_opcode).nsrc
|
||||
: lds_ops.at(m_lds_opcode).nsrc;
|
||||
|
||||
assert(nsrc * m_alu_slots == m_src.size());
|
||||
|
||||
for (int s = 0; s < m_alu_slots && success; ++s) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue