r600/sfn: scheduled instructions are always ready
authorGert Wollny <gert.wollny@collabora.com>
Mon, 6 Mar 2023 12:01:23 +0000 (13:01 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 28 Apr 2023 13:13:55 +0000 (13:13 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21347>

src/gallium/drivers/r600/sfn/sfn_instr.cpp

index b539c37..e1ef9cc 100644 (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;