i965: Make gen6_sf_state.c's get_attr_override non-static.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 29 Apr 2011 07:29:02 +0000 (00:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 May 2011 06:32:59 +0000 (23:32 -0700)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen6_sf_state.c

index d67524ff264c5b280f396e5842d3349067508faf..324d7eb4ea2cf1b624813f375534f457cf98f610 100644 (file)
@@ -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
index 50a5ad38c6fcb1d936a4030ff7e2a6fa62dc275c..8c06ff8f1901439c1ec06d430c862e96c8c2f7a2 100644 (file)
@@ -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;