intel/compiler: Remove fs_visitor::bld

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26323>
This commit is contained in:
Caio Oliveira 2023-11-21 07:35:51 -08:00 committed by Marge Bot
parent 5b8ec015f2
commit 4f991dec00
2 changed files with 2 additions and 6 deletions

View file

@ -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);

View file

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