r600/sfn: Don't deref unused group slots

Fixes: e57643cf5 (r600/sfn: Add handling for R600 indirect access alias handling)
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9219

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23711>
This commit is contained in:
Gert Wollny 2023-06-18 09:58:32 +02:00 committed by Marge Bot
parent 3a569fbf9b
commit e0ca73e96d

View file

@ -1207,6 +1207,8 @@ bool BlockScheduler::check_array_reads(const AluGroup& group)
m_last_direct_array_write);
for (auto alu : group) {
if (!alu)
continue;
for (auto& s : alu->sources()) {
s->accept(visitor);
}