gallium: add PIPE_CAP_MAX_GS_INVOCATIONS
[mesa.git] / src / gallium / drivers / nouveau / nv30 / nv30_context.c
index cec3cd06b585b415d258a42110b84a7a08442120..e137525c2b82b46cf62365613515e3a94ee2bc85 100644 (file)
@@ -123,13 +123,6 @@ nv30_invalidate_resource_storage(struct nouveau_context *nv,
          }
       }
    }
-   if (res->bind & PIPE_BIND_INDEX_BUFFER) {
-      if (nv30->idxbuf.buffer == res) {
-         nouveau_bufctx_reset(nv30->bufctx, BUFCTX_IDXBUF);
-         if (!--ref)
-            return ref;
-      }
-   }
 
    if (res->bind & PIPE_BIND_SAMPLER_VIEW) {
       for (i = 0; i < nv30->fragprog.num_textures; ++i) {