intel/compiler: Silence unused parameter warning in update_inst_scoreboard
src/intel/compiler/brw_fs_scoreboard.cpp: In function ‘void {anonymous}::update_inst_scoreboard(const fs_visitor*, const ordered_address*, const fs_inst*, unsigned int, {anonymous}::scoreboard&)’: src/intel/compiler/brw_fs_scoreboard.cpp:793:45: warning: unused parameter ‘shader’ [-Wunused-parameter] 793 | update_inst_scoreboard(const fs_visitor *shader, const ordered_address *jps, | ~~~~~~~~~~~~~~~~~~^~~~~~ Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4582>
This commit is contained in:
@@ -790,7 +790,7 @@ namespace {
|
||||
* instruction \p inst.
|
||||
*/
|
||||
void
|
||||
update_inst_scoreboard(const fs_visitor *shader, const ordered_address *jps,
|
||||
update_inst_scoreboard(const ordered_address *jps,
|
||||
const fs_inst *inst, unsigned ip, scoreboard &sb)
|
||||
{
|
||||
const bool exec_all = inst->force_writemask_all;
|
||||
@@ -843,7 +843,7 @@ namespace {
|
||||
unsigned ip = 0;
|
||||
|
||||
foreach_block_and_inst(block, fs_inst, inst, shader->cfg)
|
||||
update_inst_scoreboard(shader, jps, inst, ip++, sbs[block->num]);
|
||||
update_inst_scoreboard(jps, inst, ip++, sbs[block->num]);
|
||||
|
||||
return sbs;
|
||||
}
|
||||
@@ -943,7 +943,7 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
update_inst_scoreboard(shader, jps, inst, ip, sb);
|
||||
update_inst_scoreboard(jps, inst, ip, sb);
|
||||
ip++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user