From: Stephane Marchesin Date: Fri, 14 Apr 2006 22:43:44 +0000 (+0000) Subject: Added vertex attributes to the context X-Git-Tag: 062012170305~20010^2~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7d4314fe1619223caf2f59b1b28e05d7ff0e662;p=profile%2Fivi%2Fmesa.git Added vertex attributes to the context --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.h b/src/mesa/drivers/dri/nouveau/nouveau_context.h index 93c6f1d..dcb1442 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_context.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_context.h @@ -83,10 +83,14 @@ typedef struct nouveau_context { volatile unsigned char* mmio; /* State for tris */ - GLuint vertex_size; GLuint color_offset; GLuint specular_offset; + /* Vertex state */ + GLuint vertex_size; + struct tnl_attr_map vertex_attrs[VERT_ATTRIB_MAX]; + GLuint vertex_attr_count; + /* The drawing fallbacks */ GLuint Fallback; nouveau_tri_func* draw_tri;