Module: Mesa
Branch: master
Commit: 5def00875de4f0895e22de94cba29131a26c0430
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5def00875de4f0895e22de94cba29131a26c0430

Author: Rob Clark <[email protected]>
Date:   Tue Aug 16 19:13:55 2016 -0400

freedreno/a3xx: fix generic clear path

Signed-off-by: Rob Clark <[email protected]>

---

 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 efc1dd2..cfe13cd 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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to