diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index b6ce89963b6..7b03258ef51 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -1554,7 +1554,7 @@ fs_visitor::debug_optimizer(const nir_shader *nir, iteration, pass_num, pass_name); if (ret == -1) return; - brw_print_instructions(*this); + brw_print_instructions(*this, filename); free(filename); }