nv50: remove nv50_context.state.instbuf
authorBen Skeggs <bskeggs@redhat.com>
Tue, 9 Mar 2010 05:29:12 +0000 (15:29 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 10 Mar 2010 06:30:02 +0000 (16:30 +1000)
src/gallium/drivers/nv50/nv50_context.h
src/gallium/drivers/nv50/nv50_state_validate.c

index f65b328a56f6a47d409bb111b2d04f414b2f7e71..6865686690d30043b984383fa383821b874effef 100644 (file)
@@ -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;
 };
 
index 2aaee31c0e03a6e414c998a182acb32ddb0941af..61be3a45fda49b1b58f4108814d6a0449611ba89 100644 (file)
@@ -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