i965: Make gen6_sf_state.c's get_attr_override non-static.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke 2011-04-29 00:29:02 -07:00
parent 8832920c29
commit 3dc4bc1f78
2 changed files with 5 additions and 1 deletions

View 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

View 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;