diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-30 16:37:56 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-30 16:37:56 -0600 |
commit | 963b8a74493a474560447080b23407bfe4c707c5 (patch) | |
tree | c6543db1fc959a433ee7487f2dcc68d947193b2b /src/mesa/pipe/draw/draw_private.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_private.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_private.h b/src/mesa/pipe/draw/draw_private.h index e61f228d12..80c97ada32 100644 --- a/src/mesa/pipe/draw/draw_private.h +++ b/src/mesa/pipe/draw/draw_private.h @@ -158,6 +158,9 @@ struct draw_context /** Describes the layout of post-transformation vertices */ struct vertex_info vertex_info; + /** Two-sided attributes: */ + uint attrib_front0, attrib_back0; + uint attrib_front1, attrib_back1; unsigned nr_vertices; |