summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_context.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.h b/src/mesa/drivers/dri/nouveau/nouveau_context.h
index d287439fcf..49e22f8074 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_context.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_context.h
@@ -54,6 +54,7 @@ nouveau_fifo;
#include "tnl_dd/t_dd_vertex.h"
#undef TAG
+struct nouveau_context;
typedef void (*nouveau_tri_func)( struct nouveau_context*,
nouveauVertex *,
@@ -81,6 +82,11 @@ typedef struct nouveau_context {
/* The read-only regs */
volatile unsigned char* mmio;
+ /* State for tris */
+ GLuint vertex_size;
+ GLuint color_offset;
+ GLuint specular_offset;
+
/* The drawing fallbacks */
nouveau_tri_func* draw_tri;
nouveau_line_func* draw_line;