mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
intel/fs: use fs implementation of dump_instructions
This specialized version prints out the liveness count as well as the maximum liveness count. It was eye opening when seeing the max liveness jump after lowering of packing instructions which should not have changed the count. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18657>
This commit is contained in:
parent
e5dfff0946
commit
e59c4a912b
1 changed files with 2 additions and 2 deletions
|
|
@ -5948,7 +5948,7 @@ fs_visitor::optimize()
|
|||
snprintf(filename, 64, "%s%d-%s-%02d-%02d-" #pass, \
|
||||
stage_abbrev, dispatch_width, nir->info.name, iteration, pass_num); \
|
||||
\
|
||||
backend_shader::dump_instructions(filename); \
|
||||
dump_instructions(filename); \
|
||||
} \
|
||||
\
|
||||
validate(); \
|
||||
|
|
@ -5962,7 +5962,7 @@ fs_visitor::optimize()
|
|||
snprintf(filename, 64, "%s%d-%s-00-00-start",
|
||||
stage_abbrev, dispatch_width, nir->info.name);
|
||||
|
||||
backend_shader::dump_instructions(filename);
|
||||
dump_instructions(filename);
|
||||
}
|
||||
|
||||
bool progress = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue