diff options
author | Marek Olšák <marek.olsak@amd.com> | 2016-03-01 21:50:25 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-03-09 15:02:27 +0100 |
commit | 970b979da1639d57e89169f96cc0064db9dae43a (patch) | |
tree | 1417f5a6303f226ff91be085e28339cd754c247d /src/gallium/drivers/radeonsi | |
parent | abac6bf67a85310908c79187d102a86ee8fe6dd6 (diff) | |
download | external_mesa3d-970b979da1639d57e89169f96cc0064db9dae43a.zip external_mesa3d-970b979da1639d57e89169f96cc0064db9dae43a.tar.gz external_mesa3d-970b979da1639d57e89169f96cc0064db9dae43a.tar.bz2 |
gallium/radeon: eliminate fast color clear before sharing
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index 1158770..53c6705 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -761,7 +761,7 @@ static void si_flush_resource(struct pipe_context *ctx, assert(res->target != PIPE_BUFFER); - if (!rtex->is_depth && rtex->cmask.size) { + if (!rtex->is_depth && (rtex->cmask.size || rtex->dcc_buffer)) { si_blit_decompress_color(ctx, rtex, 0, res->last_level, 0, util_max_layer(res, 0)); } |