Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.c
authorBrian <brian.paul@tungstengraphics.com>
Thu, 30 Aug 2007 22:37:56 +0000 (16:37 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 30 Aug 2007 22:37:56 +0000 (16:37 -0600)
commit963b8a74493a474560447080b23407bfe4c707c5
treec6543db1fc959a433ee7487f2dcc68d947193b2b
parentc9e133eab450870c8804e1d3d1e7a44f509454a0
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.
src/mesa/pipe/draw/draw_context.c
src/mesa/pipe/draw/draw_context.h
src/mesa/pipe/draw/draw_private.h
src/mesa/pipe/draw/draw_twoside.c
src/mesa/pipe/i915simple/i915_state_derived.c
src/mesa/pipe/softpipe/sp_state_derived.c