r600/sfn: scheduled instructions are always ready

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21347>
This commit is contained in:
Gert Wollny 2023-03-06 13:01:23 +01:00 committed by Marge Bot
parent 5d6b80bf5b
commit 7fdb056277

View file

@ -60,6 +60,8 @@ Instr::print(std::ostream& os) const
bool
Instr::ready() const
{
if (is_scheduled())
return true;
for (auto& i : m_required_instr)
if (!i->ready())
return false;