mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-21 18:40:42 +01:00
nak: Provide more detail when printing IR after passes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
parent
5654366a55
commit
1b6962eb7e
1 changed files with 5 additions and 5 deletions
|
|
@ -454,27 +454,27 @@ pub extern "C" fn nak_compile_shader(
|
|||
|
||||
s.opt_copy_prop();
|
||||
if DEBUG.print() {
|
||||
eprintln!("NAK IR:\n{}", &s);
|
||||
eprintln!("NAK IR after opt_copy_prop:\n{}", &s);
|
||||
}
|
||||
|
||||
s.opt_lop();
|
||||
if DEBUG.print() {
|
||||
eprintln!("NAK IR:\n{}", &s);
|
||||
eprintln!("NAK IR after opt_lop:\n{}", &s);
|
||||
}
|
||||
|
||||
s.opt_dce();
|
||||
if DEBUG.print() {
|
||||
eprintln!("NAK IR:\n{}", &s);
|
||||
eprintln!("NAK IR after dce:\n{}", &s);
|
||||
}
|
||||
|
||||
s.legalize();
|
||||
if DEBUG.print() {
|
||||
eprintln!("NAK IR:\n{}", &s);
|
||||
eprintln!("NAK IR after legalize:\n{}", &s);
|
||||
}
|
||||
|
||||
s.assign_regs();
|
||||
if DEBUG.print() {
|
||||
eprintln!("NAK IR:\n{}", &s);
|
||||
eprintln!("NAK IR after assign_regs:\n{}", &s);
|
||||
}
|
||||
|
||||
s.lower_vec_split();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue