From 3dc4bc1f78db876d2dcb76153ecf9992fcce73e4 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 29 Apr 2011 00:29:02 -0700 Subject: [PATCH] i965: Make gen6_sf_state.c's get_attr_override non-static. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_state.h | 4 ++++ src/mesa/drivers/dri/i965/gen6_sf_state.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2