intel/compiler: Silence unused parameter warnings brw_nir.c
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 23 May 2018 18:33:51 +0000 (11:33 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Jul 2018 23:17:19 +0000 (16:17 -0700)
commitfb6dc8e8945117cfc9f8e1d8a5f27137a6bb902d
treece506138a5179895613939eb69e241937eec7397
parent8e38947f6c3cabab46660ae64945ad54b2ae0de4
intel/compiler: Silence unused parameter warnings brw_nir.c

src/intel/compiler/brw_nir.c: In function ‘brw_nir_lower_vue_outputs’:
src/intel/compiler/brw_nir.c:464:32: warning: unused parameter ‘is_scalar’ [-Wunused-parameter]
                           bool is_scalar)
                                ^~~~~~~~~
src/intel/compiler/brw_nir.c: In function ‘lower_bit_size_callback’:
src/intel/compiler/brw_nir.c:610:57: warning: unused parameter ‘data’ [-Wunused-parameter]
 lower_bit_size_callback(const nir_alu_instr *alu, void *data)
                                                         ^~~~

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_nir.c
src/intel/compiler/brw_nir.h
src/intel/compiler/brw_shader.cpp
src/intel/compiler/brw_vec4.cpp
src/intel/compiler/brw_vec4_gs_visitor.cpp