r600/sfn: Only switch to other CF if no AR uses are pending
authorGert Wollny <gert.wollny@collabora.com>
Tue, 1 Aug 2023 08:29:34 +0000 (10:29 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Aug 2023 18:55:36 +0000 (18:55 +0000)
commit5b75d86df9d478bfeb3ba4253b0ad50558f04785
tree80102f58c6119170a72f21f10e17f1dca5575c19
parentb1ce5fe20abff1e92b95de92cea4de67d93f5de2
r600/sfn: Only switch to other CF if no AR uses are pending

Otherwise we end up with an incorrect array load (or an assertion failure).

Fixes: d617052db6b2f359d7242875013603ec63b069fc
    r600/sfn: take address loads into account when scheduling

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24454>
src/gallium/drivers/r600/sfn/sfn_scheduler.cpp