mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
aco: add CompilationProgress::after_lower_to_hw
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30399>
This commit is contained in:
parent
6da7bd842c
commit
53155ba12d
3 changed files with 6 additions and 0 deletions
|
|
@ -2013,6 +2013,7 @@ enum class CompilationProgress {
|
|||
after_isel,
|
||||
after_spilling,
|
||||
after_ra,
|
||||
after_lower_to_hw,
|
||||
};
|
||||
|
||||
class Program final {
|
||||
|
|
|
|||
|
|
@ -3010,6 +3010,8 @@ lower_to_hw_instr(Program* program)
|
|||
end_with_regs_block->kind &= ~block_kind_end_with_regs;
|
||||
exit_block->kind |= block_kind_end_with_regs;
|
||||
}
|
||||
|
||||
program->progress = CompilationProgress::after_lower_to_hw;
|
||||
}
|
||||
|
||||
} // namespace aco
|
||||
|
|
|
|||
|
|
@ -1059,6 +1059,9 @@ aco_print_program(const Program* program, FILE* output, unsigned flags)
|
|||
flags |= print_kill;
|
||||
break;
|
||||
case CompilationProgress::after_ra: fprintf(output, "After RA:\n"); break;
|
||||
case CompilationProgress::after_lower_to_hw:
|
||||
fprintf(output, "After lowering to hw instructions:\n");
|
||||
break;
|
||||
}
|
||||
|
||||
print_stage(program->stage, output);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue