mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
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:
parent
3a569fbf9b
commit
e0ca73e96d
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue