From fb6dc8e8945117cfc9f8e1d8a5f27137a6bb902d Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 23 May 2018 11:33:51 -0700 Subject: intel/compiler: Silence unused parameter warnings brw_nir.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Caio Marcelo de Oliveira Filho --- src/intel/compiler/brw_vec4_gs_visitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/compiler/brw_vec4_gs_visitor.cpp') diff --git a/src/intel/compiler/brw_vec4_gs_visitor.cpp b/src/intel/compiler/brw_vec4_gs_visitor.cpp index 02871eef204..c4c876a0d03 100644 --- a/src/intel/compiler/brw_vec4_gs_visitor.cpp +++ b/src/intel/compiler/brw_vec4_gs_visitor.cpp @@ -642,7 +642,7 @@ brw_compile_gs(const struct brw_compiler *compiler, void *log_data, shader = brw_nir_apply_sampler_key(shader, compiler, &key->tex, is_scalar); brw_nir_lower_vue_inputs(shader, &c.input_vue_map); - brw_nir_lower_vue_outputs(shader, is_scalar); + brw_nir_lower_vue_outputs(shader); shader = brw_postprocess_nir(shader, compiler, is_scalar); prog_data->base.clip_distance_mask = -- cgit v1.2.3