mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
Added vertex attributes to the context
This commit is contained in:
parent
199512968b
commit
b7d4314fe1
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue