r600/sfn: Increase LDS fetch schedule priority

Otherwise we may end up scheduling the value read before the
value fetch.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24212>
This commit is contained in:
Gert Wollny 2023-07-17 17:21:00 +02:00 committed by Marge Bot
parent ddb167e81a
commit 197bc1ee07

View File

@ -1001,6 +1001,8 @@ BlockScheduler::collect_ready_alu_vec(std::list<AluInstr *>& ready,
if ((*i)->has_lds_access()) {
priority = 100000;
if ((*i)->has_alu_flag(alu_is_lds))
priority += 100000;
} else if (addr) {
priority = 10000;
} else if (AluGroup::has_t()) {