From: Kenneth Graunke Date: Fri, 29 Apr 2011 07:29:02 +0000 (-0700) Subject: i965: Make gen6_sf_state.c's get_attr_override non-static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3dc4bc1f78db876d2dcb76153ecf9992fcce73e4;p=mesa.git i965: Make gen6_sf_state.c's get_attr_override non-static. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt --- diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index d67524ff264..324d7eb4ea2 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -163,4 +163,8 @@ void brw_create_constant_surface(struct brw_context *brw, int width, uint32_t *out_offset); +/* gen6_sf_state.c */ +uint32_t +get_attr_override(struct brw_context *brw, int fs_attr, int two_side_color); + #endif diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c index 50a5ad38c6f..8c06ff8f190 100644 --- a/src/mesa/drivers/dri/i965/gen6_sf_state.c +++ b/src/mesa/drivers/dri/i965/gen6_sf_state.c @@ -32,7 +32,7 @@ #include "main/macros.h" #include "intel_batchbuffer.h" -static uint32_t +uint32_t get_attr_override(struct brw_context *brw, int fs_attr, int two_side_color) { int attr_index = 0, i, vs_attr;