gallium: remove pipe_index_buffer and set_index_buffer
[mesa.git] / src / gallium / drivers / freedreno / freedreno_resource.c
index 8adbaaa64a64006381c03aa4e1aab29cb95c334a..4676b493acb902e8f8bb91508933bb469bb70f2d 100644 (file)
@@ -62,10 +62,6 @@ fd_invalidate_resource(struct fd_context *ctx, struct pipe_resource *prsc)
                        ctx->dirty |= FD_DIRTY_VTXBUF;
        }
 
-       /* Index buffer */
-       if (ctx->indexbuf.buffer == prsc)
-               ctx->dirty |= FD_DIRTY_INDEXBUF;
-
        /* per-shader-stage resources: */
        for (unsigned stage = 0; stage < PIPE_SHADER_TYPES; stage++) {
                /* Constbufs.. note that constbuf[0] is normal uniforms emitted in