summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-03-09 15:29:12 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-03-10 16:30:02 +1000
commit7b7fcb08542ddd63ed6ef4c6304aade3684db948 (patch)
treebe73e625e478548a7f68dd21d2b46f611f511ac7 /src/gallium
parent9b233ce7de7923feb4b8ef4e1994baa4f13daeef (diff)
nv50: remove nv50_context.state.instbuf
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.h1
-rw-r--r--src/gallium/drivers/nv50/nv50_state_validate.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h
index f65b328a56f..6865686690d 100644
--- a/src/gallium/drivers/nv50/nv50_context.h
+++ b/src/gallium/drivers/nv50/nv50_context.h
@@ -129,7 +129,6 @@ struct nv50_state {
unsigned miptree_nr[PIPE_SHADER_TYPES];
struct nouveau_stateobj *vtxbuf;
struct nouveau_stateobj *vtxattr;
- struct nouveau_stateobj *instbuf;
unsigned vtxelt_nr;
};
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index 2aaee31c0e0..61be3a45fda 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -382,11 +382,6 @@ nv50_state_flush_notify(struct nouveau_channel *chan)
so_emit_reloc_markers(chan, nv50->state.hw[4]); /* fp */
so_emit_reloc_markers(chan, nv50->state.hw[17]); /* vb */
so_emit_reloc_markers(chan, nv50->screen->static_init);
-
-#if 0
- if (nv50->state.instbuf)
- so_emit_reloc_markers(chan, nv50->state.instbuf);
-#endif
}
boolean