From 735711ab86078732a6ce63cc1292e9814c01fb25 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 9 Sep 2017 00:18:39 -0700 Subject: [PATCH] i965: Make brw_update_texture_surface static. Trivial. It's not used in other files. --- src/mesa/drivers/dri/i965/brw_state.h | 4 ---- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 9718739dea9..d72f32fbd79 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -213,10 +213,6 @@ void brw_emit_buffer_surface_state(struct brw_context *brw, unsigned pitch, unsigned reloc_flags); -void brw_update_texture_surface(struct gl_context *ctx, - unsigned unit, uint32_t *surf_offset, - bool for_gather, uint32_t plane); - /* brw_sampler_state.c */ void brw_emit_sampler_state(struct brw_context *brw, uint32_t *sampler_state, diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index c9383b82245..5e0fcafbce1 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -451,7 +451,7 @@ brw_aux_surface_disabled(const struct brw_context *brw, return false; } -void +static void brw_update_texture_surface(struct gl_context *ctx, unsigned unit, uint32_t *surf_offset, -- 2.30.2