From 588225770c60834dfd2a95850435cc549167dc05 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 5 Jan 2004 15:24:53 +0000 Subject: Beef up t_vertex.c: - cope with input vectors with size less than that of the emitted attribute. - cope with vertices with 'holes' inside and between vertices. Fix calculation of tnl->render_inputs to work with fp programs. Mirror VB->PointSizePtr in VB->AttribPtr so that it can work with t_vertex.c. Transition swrast_setup/ to use t_vertex.c to build swrast vertices. --- src/mesa/swrast_setup/ss_context.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/mesa/swrast_setup/ss_context.h') diff --git a/src/mesa/swrast_setup/ss_context.h b/src/mesa/swrast_setup/ss_context.h index 84813e98eb..2c6e4faf3d 100644 --- a/src/mesa/swrast_setup/ss_context.h +++ b/src/mesa/swrast_setup/ss_context.h @@ -35,14 +35,9 @@ typedef struct { GLuint NewState; - SWvertex *verts; GLenum render_prim; - GLuint SetupIndex; - - /* Temporaries for translating away float colors: - */ - struct gl_client_array ChanColor; - struct gl_client_array ChanSecondaryColor; + GLuint last_index; + SWvertex *verts; } SScontext; #define SWSETUP_CONTEXT(ctx) ((SScontext *)ctx->swsetup_context) -- cgit v1.2.3