src/intel/compiler/brw_fs_live_variables.cpp: In member function ‘void brw::fs_live_variables::setup_one_read(brw::fs_live_variables::block_data*, fs_inst*, int, const fs_reg&)’:
src/intel/compiler/brw_fs_live_variables.cpp:56:67: warning: unused parameter ‘inst’ [-Wunused-parameter]
56 | fs_live_variables::setup_one_read(struct block_data *bd, fs_inst *inst,
| ~~~~~~~~~^~~~
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4582>
*/
void
-fs_live_variables::setup_one_read(struct block_data *bd, fs_inst *inst,
+fs_live_variables::setup_one_read(struct block_data *bd,
int ip, const fs_reg ®)
{
int var = var_from_reg(reg);
continue;
for (unsigned j = 0; j < regs_read(inst, i); j++) {
- setup_one_read(bd, inst, ip, reg);
+ setup_one_read(bd, ip, reg);
reg.offset += REG_SIZE;
}
}
protected:
void setup_def_use();
- void setup_one_read(struct block_data *bd, fs_inst *inst, int ip,
- const fs_reg ®);
+ void setup_one_read(struct block_data *bd, int ip, const fs_reg ®);
void setup_one_write(struct block_data *bd, fs_inst *inst, int ip,
const fs_reg ®);
void compute_live_variables();