diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-30 14:41:23 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-30 14:43:08 -0600 |
commit | 942b9bc5bc13d959baa86779a7c669cf96659b9a (patch) | |
tree | 8753ff6f40f91fb7b3eff740ccde1edb35349bed /src/mesa/pipe/draw/draw_context.h | |
parent | aaf03b94861cbf5a602863e4542dd1c2e54ba365 (diff) |
In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors to cpy.
One less dependency on the TGSI_ATTRIB_x flags.
This requires setting the vertex_info->interp_mode[] values in the i915 driver and passing them to draw_set_vertex_attributes().
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h index 1bd0e624fe..4c9e64a12d 100644 --- a/src/mesa/pipe/draw/draw_context.h +++ b/src/mesa/pipe/draw/draw_context.h @@ -89,7 +89,7 @@ void draw_set_setup_stage( struct draw_context *draw, struct draw_stage *stage ); void draw_set_vertex_attributes( struct draw_context *draw, - const unsigned *attrs, + const uint *attrs, const uint *interp_mode, unsigned nr_attrs ); unsigned draw_prim_info( unsigned prim, unsigned *first, unsigned *incr ); |