From 7d560a3861ff30aa9d8ec872cf9cd7d72a980eb2 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 20 Oct 2014 15:50:36 -0700 Subject: i965: Silence unused parameter warning in brw_dump_ir Just remove the parameter. Silences: brw_program.c: In function 'brw_dump_ir': brw_program.c:566:33: warning: unused parameter 'brw' [-Wunused-parameter] Signed-off-by: Ian Romanick Reviewed-by: Brian Paul Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_program.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_program.h') diff --git a/src/mesa/drivers/dri/i965/brw_program.h b/src/mesa/drivers/dri/i965/brw_program.h index a8650c3454b..672777f4e6d 100644 --- a/src/mesa/drivers/dri/i965/brw_program.h +++ b/src/mesa/drivers/dri/i965/brw_program.h @@ -82,8 +82,7 @@ void brw_stage_prog_data_free(const void *prog_data); void -brw_dump_ir(struct brw_context *brw, const char *stage, - struct gl_shader_program *shader_prog, +brw_dump_ir(const char *stage, struct gl_shader_program *shader_prog, struct gl_shader *shader, struct gl_program *prog); #ifdef __cplusplus -- cgit v1.2.3