mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
r600/sfn: Print more info if scheduling fails
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:
parent
2a9348967a
commit
f48aa460a2
1 changed files with 9 additions and 2 deletions
|
|
@ -446,7 +446,11 @@ BlockScheduler::schedule_block(Block& in_block,
|
|||
if (!cir.alu_vec.empty()) {
|
||||
std::cerr << "Unscheduled ALU vec ops:\n";
|
||||
for (auto& a : cir.alu_vec) {
|
||||
std::cerr << " " << *a << "\n";
|
||||
std::cerr << " [" << a->block_id() << ":"
|
||||
<< a->index() <<"]:" << *a << "\n";
|
||||
for (auto& d : a->required_instr())
|
||||
std::cerr << " R["<< d->block_id() << ":" << d->index() <<"]:"
|
||||
<< *d << "\n";
|
||||
}
|
||||
fail = true;
|
||||
}
|
||||
|
|
@ -454,7 +458,10 @@ BlockScheduler::schedule_block(Block& in_block,
|
|||
if (!cir.alu_trans.empty()) {
|
||||
std::cerr << "Unscheduled ALU trans ops:\n";
|
||||
for (auto& a : cir.alu_trans) {
|
||||
std::cerr << " " << *a << "\n";
|
||||
std::cerr << " " << " [" << a->block_id() << ":"
|
||||
<< a->index() <<"]:" << *a << "\n";
|
||||
for (auto& d : a->required_instr())
|
||||
std::cerr << " R:" << *d << "\n";
|
||||
}
|
||||
fail = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue