diff options
author | Rob Clark <[email protected]> | 2016-08-16 19:13:55 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-08-16 19:26:03 -0400 |
commit | 5def00875de4f0895e22de94cba29131a26c0430 (patch) | |
tree | 22a25c6a7dc6cd8138bdec106a2420af1f098369 /src/gallium/drivers/freedreno | |
parent | df2dcf62008c22a8e2ca6b17936bf27c025e9416 (diff) |
freedreno/a3xx: fix generic clear path
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |