From 5def00875de4f0895e22de94cba29131a26c0430 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 16 Aug 2016 19:13:55 -0400 Subject: [PATCH] freedreno/a3xx: fix generic clear path Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_draw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/freedreno/freedreno_draw.c b/src/gallium/drivers/freedreno/freedreno_draw.c index efc1dd2774d..cfe13cd6782 100644 --- a/src/gallium/drivers/freedreno/freedreno_draw.c +++ b/src/gallium/drivers/freedreno/freedreno_draw.c @@ -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); -- 2.30.2