i965: Make swizzle_to_scs non-static.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_state.h
index 471f1da1206bba2ae4a09151c4f4833aaa44275a..2a4b23ceed3300f4e124a546c196e14cd3d0afea 100644 (file)
@@ -200,6 +200,7 @@ int brw_get_texture_swizzle(const struct gl_context *ctx,
                             const struct gl_texture_object *t);
 
 /* gen7_wm_surface_state.c */
+unsigned brw_swizzle_to_scs(GLenum swizzle, bool need_green_to_blue);
 uint32_t gen7_surface_tiling_mode(uint32_t tiling);
 uint32_t gen7_surface_msaa_bits(unsigned num_samples, enum intel_msaa_layout l);
 void gen7_set_surface_mcs_info(struct brw_context *brw,