mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
r600/sfn: Add array element parent also to array
This is probably overdoing debendencies in many cases,
but it fixes a bug where scheduling goes wrong.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10984
Fixes: ddb167e81a
r600/sfn: Handle indirect array load/store dependencies better
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28840>
This commit is contained in:
parent
04f232ed99
commit
a61b658d5f
1 changed files with 1 additions and 0 deletions
|
|
@ -1056,6 +1056,7 @@ LocalArrayValue::accept(ConstRegisterVisitor& vistor) const
|
|||
void
|
||||
LocalArrayValue::add_parent_to_array(Instr *instr)
|
||||
{
|
||||
m_array.add_parent(instr);
|
||||
if (m_addr)
|
||||
m_array.add_parent_to_elements(chan(), instr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue