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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user