intel/compiler: Silence unused parameter warnings in brw_eu.h
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 25 Aug 2018 00:24:59 +0000 (17:24 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 28 Aug 2018 22:35:38 +0000 (15:35 -0700)
commit41399f4bc745ef6b99081e7498b543eb3fbf82e7
treeae0086c345b39366f7ebd2adb7a9a7756a334ffd
parent56574f4df30d853ed947fe5cf139bb1eef13a5c6
intel/compiler: Silence unused parameter warnings in brw_eu.h

All of the other brw_*_desc functions take a devinfo parameter, and all
of the others at least have an assert that uses it.  Keep the parameter,
but mark it as unused.

Silences 37 warnings like:

In file included from src/intel/common/gen_disasm.c:27:0:
src/intel/compiler/brw_eu.h: In function ‘brw_pixel_interp_desc’:
src/intel/compiler/brw_eu.h:377:53: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
 brw_pixel_interp_desc(const struct gen_device_info *devinfo,
                                                     ^~~~~~~

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_eu.h