Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
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);
* 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:
}
}
-static void
+void
upload_default_color(struct brw_context *brw, struct gl_sampler_object *sampler,
int unit)
{