intel/compiler: Silence unused parameter warning in update_inst_scoreboard
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 14 Apr 2020 00:23:25 +0000 (17:23 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 17 Apr 2020 15:21:42 +0000 (08:21 -0700)
commita80e44902f66244d257c523afe77558cf334d624
treef5c8dbbfc3380284a1580865e82443dc707e289b
parentc836295dfdeafe9f2a731c4dcd75d59c4494bcf3
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>
src/intel/compiler/brw_fs_scoreboard.cpp