r600/sfn: on Cayman loading an index register needs only one slot

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24297>
This commit is contained in:
Gert Wollny 2023-07-21 17:03:31 +02:00 committed by Marge Bot
parent 4b4770e820
commit 440cf7439d

View file

@ -486,7 +486,7 @@ AluGroup::slots() const
}
if (m_addr_used) {
++result;
if (m_addr_is_index)
if (m_addr_is_index && s_max_slots == 5)
++result;
}