diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2015-10-21 00:10:37 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-10-24 00:42:24 +0200 |
commit | bb77467df9863c522c8d8550e295e2ad7bbef37c (patch) | |
tree | ce7be0295291c1ceec222d2ec8110cd5d1f637bd /src/gallium/drivers/radeonsi/si_dma.c | |
parent | afa357c3b01322df31034f84613a4d8401a9486e (diff) |
radeonsi: Disable operations that do not work with DCC.
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_dma.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_dma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_dma.c b/src/gallium/drivers/radeonsi/si_dma.c index 31b0b41e5a..73c026cc0c 100644 --- a/src/gallium/drivers/radeonsi/si_dma.c +++ b/src/gallium/drivers/radeonsi/si_dma.c @@ -248,7 +248,8 @@ void si_dma_copy(struct pipe_context *ctx, if (src->format != dst->format || src_box->depth > 1 || (rdst->dirty_level_mask | rdst->stencil_dirty_level_mask) & (1 << dst_level) || rdst->cmask.size || rdst->fmask.size || - rsrc->cmask.size || rsrc->fmask.size) { + rsrc->cmask.size || rsrc->fmask.size || + rdst->surface.dcc_enabled || rsrc->surface.dcc_enabled) { goto fallback; } |