diff options
author | Eric Anholt <[email protected]> | 2016-09-08 13:02:22 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-09-14 06:08:03 +0100 |
commit | f473348468ae1c68e7ef8eaf29f2cc51d17fbec7 (patch) | |
tree | 7ee1c9fa72dde2d13a2892437d8ecfca453759c9 /src/gallium/drivers/vc4/vc4_blit.c | |
parent | 9688166bd9c3e12c74c55b857ad0dbb62b28da9e (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_blit.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_blit.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |