diff options
author | Felix Kuehling <[email protected]> | 2004-02-26 00:59:00 +0000 |
---|---|---|
committer | Felix Kuehling <[email protected]> | 2004-02-26 00:59:00 +0000 |
commit | d9a033087200548efabbd1f0cf0a2e2ecbf5809f (patch) | |
tree | 4607f8c5e37db90c4521bc7c54192cb6d6e6851b /src/mesa/drivers/dri/savage/savagecontext.h | |
parent | 795f1faf81b988ac969356945e25dc712bcc6a94 (diff) |
Converted vertex setup to use t_vertex.[ch].
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagecontext.h')
-rw-r--r-- | src/mesa/drivers/dri/savage/savagecontext.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/savage/savagecontext.h b/src/mesa/drivers/dri/savage/savagecontext.h index 6eaf58eca56..af8952200e3 100644 --- a/src/mesa/drivers/dri/savage/savagecontext.h +++ b/src/mesa/drivers/dri/savage/savagecontext.h @@ -40,6 +40,7 @@ typedef struct savage_texture_object_t *savageTextureObjectPtr; #include "savage_sarea.h" #include "savage_init.h" #include "mm.h" +#include "tnl/t_vertex.h" #include "savagetex.h" #include "savagedma.h" @@ -157,6 +158,13 @@ struct savage_context_t { */ GLuint LcsCullMode; + /* Vertex state + */ + GLuint vertex_size; + struct tnl_attr_map vertex_attrs[VERT_ATTRIB_MAX]; + GLuint vertex_attr_count; + char *verts; /* points to tnl->clipspace.vertex_buf */ + /* Rasterization state */ GLuint SetupNewInputs; @@ -167,11 +175,7 @@ struct savage_context_t { GLenum raster_primitive; GLenum render_primitive; - GLubyte *verts; - GLuint vertex_format; - GLuint vertex_size; GLuint DrawPrimitiveCmd; - GLuint DrawPrimitiveMask; /* Fallback rasterization functions */ |