i965: Make brw_update_texture_surface static.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 9 Sep 2017 07:18:39 +0000 (00:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 11 Oct 2017 07:09:06 +0000 (00:09 -0700)
Trivial.  It's not used in other files.

src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index 9718739dea9a4f07a68737a32436b033d4fce098..d72f32fbd79c929f14d080ddcfea86ae80a5fee0 100644 (file)
@@ -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,
index c9383b82245ee5db911075c34dea0937bd2f7989..5e0fcafbce186753f11ad46bccc5875404e7b6cc 100644 (file)
@@ -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,