summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-04-29 00:29:02 -0700
committerKenneth Graunke <[email protected]>2011-05-17 23:32:59 -0700
commit3dc4bc1f78db876d2dcb76153ecf9992fcce73e4 (patch)
treedcb6f8ef00423f26b5320a4f8bc3033b397bded2 /src
parent8832920c298f4e13ffd5e53feeba509be69edb16 (diff)
i965: Make gen6_sf_state.c's get_attr_override non-static.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state.h4
-rw-r--r--src/mesa/drivers/dri/i965/gen6_sf_state.c2
2 files changed, 5 insertions, 1 deletions
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;