summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nv10_render.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-10-29 22:31:34 +0200
committerFrancisco Jerez <currojerez@riseup.net>2010-10-31 02:50:04 +0200
commit57382e71ef892a36ca2171fe8758aba6c9c885e6 (patch)
treedd2fee3474cd513688e4ca1006d1a40faf6be2ba /src/mesa/drivers/dri/nouveau/nv10_render.c
parent9d1f1fcf136e8f5f427ae203128ff641cc9e7197 (diff)
dri/nouveau: Split out array handling to its own file.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv10_render.c')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_render.c b/src/mesa/drivers/dri/nouveau/nv10_render.c
index 3daec613af..4a396f8893 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_render.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_render.c
@@ -32,7 +32,7 @@
#define NUM_VERTEX_ATTRS 8
static void
-nv10_emit_material(struct gl_context *ctx, struct nouveau_array_state *a,
+nv10_emit_material(struct gl_context *ctx, struct nouveau_array *a,
const void *v);
/* Vertex attribute format. */
@@ -115,7 +115,7 @@ nv10_render_set_format(struct gl_context *ctx)
FOR_EACH_ATTR(render, i, attr) {
if (attr >= 0) {
- struct nouveau_array_state *a = &render->attrs[attr];
+ struct nouveau_array *a = &render->attrs[attr];
hw_format = a->stride << 8 |
a->fields << 4 |
@@ -143,7 +143,7 @@ nv10_render_bind_vertices(struct gl_context *ctx)
int i, attr;
FOR_EACH_BOUND_ATTR(render, i, attr) {
- struct nouveau_array_state *a = &render->attrs[attr];
+ struct nouveau_array *a = &render->attrs[attr];
nouveau_bo_markl(bctx, celsius,
NV10TCL_VTXBUF_ADDRESS(i),