diff options
author | Brian <[email protected]> | 2007-08-30 16:37:56 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-30 16:37:56 -0600 |
commit | 963b8a74493a474560447080b23407bfe4c707c5 (patch) | |
tree | c6543db1fc959a433ee7487f2dcc68d947193b2b /src/mesa/pipe/draw/draw_context.h | |
parent | c9e133eab450870c8804e1d3d1e7a44f509454a0 (diff) |
Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.c
Added a new draw_set_twoside_attributes() function for specifying which
vertex attributes are to be copied/replaced when a polygon is back-facing.
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h index 4c9e64a12d2..21ee18e7cf6 100644 --- a/src/mesa/pipe/draw/draw_context.h +++ b/src/mesa/pipe/draw/draw_context.h @@ -92,6 +92,10 @@ void draw_set_vertex_attributes( struct draw_context *draw, const uint *attrs, const uint *interp_mode, unsigned nr_attrs ); +void draw_set_twoside_attributes(struct draw_context *draw, + uint front0, uint back0, + uint front1, uint back1); + unsigned draw_prim_info( unsigned prim, unsigned *first, unsigned *incr ); unsigned draw_trim( unsigned count, unsigned first, unsigned incr ); |