From: Kenneth Graunke Date: Sat, 9 Sep 2017 07:18:39 +0000 (-0700) Subject: i965: Make brw_update_texture_surface static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=735711ab86078732a6ce63cc1292e9814c01fb25;p=mesa.git i965: Make brw_update_texture_surface static. Trivial. It's not used in other files. --- 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,