i965: Mark some brw_wm_sampler_state.c helper functions as non-static.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke 2011-04-29 01:18:20 -07:00
parent b2b6cc6622
commit 3984372104
2 changed files with 9 additions and 2 deletions

View 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);

View 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)
{