From f473348468ae1c68e7ef8eaf29f2cc51d17fbec7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 8 Sep 2016 13:02:22 -0700 Subject: vc4: Handle resolve skipping at job submit time. This is done in vc4_flush currently, but I'm going to make the job always track the surfaces it might be rendering to instead of putting in the destinations at flush time. --- src/gallium/drivers/vc4/vc4_blit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/vc4/vc4_blit.c') diff --git a/src/gallium/drivers/vc4/vc4_blit.c b/src/gallium/drivers/vc4/vc4_blit.c index 83e1e00ec41..d3fc8e922ad 100644 --- a/src/gallium/drivers/vc4/vc4_blit.c +++ b/src/gallium/drivers/vc4/vc4_blit.c @@ -149,6 +149,7 @@ vc4_tile_blit(struct pipe_context *pctx, const struct pipe_blit_info *info) job->tile_height = tile_height; job->msaa = msaa; job->needs_flush = true; + job->resolve |= PIPE_CLEAR_COLOR; vc4_job_submit(vc4, job); -- cgit v1.2.3