From: Rob Clark Date: Tue, 16 Aug 2016 23:13:55 +0000 (-0400) Subject: freedreno/a3xx: fix generic clear path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5def00875de4f0895e22de94cba29131a26c0430;p=mesa.git freedreno/a3xx: fix generic clear path Signed-off-by: Rob Clark --- 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);