freedreno/a3xx: fix generic clear path
[mesa.git] / src / gallium / drivers / freedreno / freedreno_draw.c
index efc1dd2774de13e7c535719c23ca496ea6537dc8..cfe13cd6782895b60f71fe57fe07dfc0967076b3 100644 (file)
@@ -256,6 +256,7 @@ fd_blitter_clear(struct pipe_context *pctx, unsigned buffers,
        struct pipe_draw_info info = {
                .mode = PIPE_PRIM_MAX,    /* maps to DI_PT_RECTLIST */
                .count = 2,
+               .max_index = 1,
                .instance_count = 1,
        };
        ctx->draw_vbo(ctx, &info);