From 4f991dec00dfc4f1452c5d1c8815a4c20d3bd88b Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Tue, 21 Nov 2023 07:35:51 -0800 Subject: [PATCH] intel/compiler: Remove fs_visitor::bld Reviewed-by: Kenneth Graunke Part-of: --- src/intel/compiler/brw_fs.h | 2 -- src/intel/compiler/brw_fs_visitor.cpp | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index 1e4f4aa2bf3..850f7930b99 100644 --- a/src/intel/compiler/brw_fs.h +++ b/src/intel/compiler/brw_fs.h @@ -439,8 +439,6 @@ public: struct shader_stats shader_stats; - brw::fs_builder bld; - void lower_mul_dword_inst(fs_inst *inst, bblock_t *block); void lower_mul_qword_inst(fs_inst *inst, bblock_t *block); void lower_mulh_inst(fs_inst *inst, bblock_t *block); diff --git a/src/intel/compiler/brw_fs_visitor.cpp b/src/intel/compiler/brw_fs_visitor.cpp index 4f344f64ddd..87d6268ea51 100644 --- a/src/intel/compiler/brw_fs_visitor.cpp +++ b/src/intel/compiler/brw_fs_visitor.cpp @@ -1140,8 +1140,7 @@ fs_visitor::fs_visitor(const struct brw_compiler *compiler, performance_analysis(this), needs_register_pressure(needs_register_pressure), dispatch_width(dispatch_width), - api_subgroup_size(brw_nir_api_subgroup_size(shader, dispatch_width)), - bld(fs_builder(this, dispatch_width).at_end()) + api_subgroup_size(brw_nir_api_subgroup_size(shader, dispatch_width)) { init(); assert(api_subgroup_size == 0 || @@ -1165,8 +1164,7 @@ fs_visitor::fs_visitor(const struct brw_compiler *compiler, performance_analysis(this), needs_register_pressure(needs_register_pressure), dispatch_width(8), - api_subgroup_size(brw_nir_api_subgroup_size(shader, dispatch_width)), - bld(fs_builder(this, dispatch_width).at_end()) + api_subgroup_size(brw_nir_api_subgroup_size(shader, dispatch_width)) { init(); assert(api_subgroup_size == 0 ||