i965: Make some brw_sampler_state.c functions static again.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 27 Jul 2014 01:10:53 +0000 (18:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Aug 2014 12:16:40 +0000 (05:16 -0700)
Now that gen7_sampler_state.c is gone, everything is once again in a
single file.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_sampler_state.c
src/mesa/drivers/dri/i965/brw_state.h

index 795865e..d03047b 100644 (file)
@@ -145,7 +145,7 @@ brw_emit_sampler_state(struct brw_context *brw,
    }
 }
 
-uint32_t
+static uint32_t
 translate_wrap_mode(struct brw_context *brw, GLenum wrap, bool using_nearest)
 {
    switch( wrap ) {
@@ -188,7 +188,7 @@ translate_wrap_mode(struct brw_context *brw, GLenum wrap, bool using_nearest)
 /**
  * Upload SAMPLER_BORDER_COLOR_STATE.
  */
-void
+static void
 upload_default_color(struct brw_context *brw,
                      const struct gl_sampler_object *sampler,
                      int unit,
index 35f3345..abead18 100644 (file)
@@ -261,12 +261,6 @@ void brw_emit_sampler_state(struct brw_context *brw,
                             unsigned shadow_function,
                             bool non_normalized_coordinates,
                             uint32_t border_color_offset);
-uint32_t translate_wrap_mode(struct brw_context *brw,
-                             GLenum wrap, bool using_nearest);
-void upload_default_color(struct brw_context *brw,
-                         const struct gl_sampler_object *sampler,
-                         int unit,
-                          uint32_t *sdc_offset);
 
 /* gen6_sf_state.c */
 void