From 70c6cd39bd9396b0d3f9e84df41fd8bef1f26cc4 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 27 Apr 2011 18:03:49 -0700 Subject: i965: Change brw_format_for_mesa_format to a non-static function. This will make it easier to share between files. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_state.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri/i965/brw_state.h') diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 99e63e08dd1..763f20fc203 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -180,6 +180,8 @@ void brw_create_constant_surface(struct brw_context *brw, int width, uint32_t *out_offset); +uint32_t brw_format_for_mesa_format(gl_format mesa_format); + /* gen6_sf_state.c */ uint32_t get_attr_override(struct brw_context *brw, int fs_attr, int two_side_color); -- cgit v1.2.3