i965: Mark some brw_wm_sampler_state.c helper functions as non-static.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 29 Apr 2011 08:18:20 +0000 (01:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 May 2011 06:33:01 +0000 (23:33 -0700)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c

index 4bf4e854f811967a726e0598ceffa6fb1457be14..e58840f67879f5dcafa3c1b462870a6798eebf2c 100644 (file)
@@ -191,6 +191,12 @@ GLuint translate_tex_format(gl_format mesa_format,
                            GLenum depth_mode,
                            GLenum srgb_decode);
 
+/* brw_wm_sampler_state.c */
+GLuint translate_wrap_mode(GLenum wrap);
+void upload_default_color(struct brw_context *brw,
+                         struct gl_sampler_object *sampler,
+                         int unit);
+
 /* gen6_sf_state.c */
 uint32_t
 get_attr_override(struct brw_context *brw, int fs_attr, int two_side_color);
index 7b93bf90241b0ac6ba8d3c12ffd93c5f140409f5..6f5057b73471a5067071a85f6d68449e97179417 100644 (file)
@@ -48,7 +48,8 @@
  * Intel drivers for "other operating systems" implement GL_CLAMP as
  * GL_CLAMP_TO_EDGE, so the same is done here.
  */
-static GLuint translate_wrap_mode( GLenum wrap )
+GLuint
+translate_wrap_mode(GLenum wrap)
 {
    switch( wrap ) {
    case GL_REPEAT: 
@@ -66,7 +67,7 @@ static GLuint translate_wrap_mode( GLenum wrap )
    }
 }
 
-static void
+void
 upload_default_color(struct brw_context *brw, struct gl_sampler_object *sampler,
                     int unit)
 {