summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup/ss_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-01-05 15:24:53 +0000
committerKeith Whitwell <[email protected]>2004-01-05 15:24:53 +0000
commit588225770c60834dfd2a95850435cc549167dc05 (patch)
treeeded850ee7eabc94d90e1b067df660233ad7fc48 /src/mesa/swrast_setup/ss_context.h
parentce81fe69da00f86464a109243d6e109b71335329 (diff)
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.
Diffstat (limited to 'src/mesa/swrast_setup/ss_context.h')
-rw-r--r--src/mesa/swrast_setup/ss_context.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mesa/swrast_setup/ss_context.h b/src/mesa/swrast_setup/ss_context.h
index 84813e98eb0..2c6e4faf3da 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)