summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-09-09 00:18:39 -0700
committerKenneth Graunke <[email protected]>2017-10-11 00:09:06 -0700
commit735711ab86078732a6ce63cc1292e9814c01fb25 (patch)
tree2b51df4486d0069dd673fa67e36173e26fbda299 /src/mesa/drivers
parente5e93c727f23d0c87e1edf04705d0d0342290536 (diff)
i965: Make brw_update_texture_surface static.
Trivial. It's not used in other files.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state.h4
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c2
2 files changed, 1 insertions, 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,