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 ||