From e59c4a912bcc60dcbd9026bac1295c7a2d59beca Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 15 Sep 2022 22:10:46 +0300 Subject: [PATCH] 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 Reviewed-by: Francisco Jerez Part-of: --- src/intel/compiler/brw_fs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 6e3429f..a979e59 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -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; -- 2.7.4