diff options
author | Michel Dänzer <[email protected]> | 2014-07-03 10:58:57 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2014-07-03 11:17:38 +0900 |
commit | 370184e813b25b463ad3dc9ca814231c98b95864 (patch) | |
tree | 2ab18a1db8f7a5af136604d088d28473de04290d /src/gallium/drivers | |
parent | 7666a9f4ae3a058882a0aff66c8bf92c3da498f0 (diff) |
Revert "radeonsi: Use dma_copy when possible for si_blit."
This reverts commit 5d5c20920e0e570742a497aa047e99a2fa3c04f2.
Caused visual corruption, see e.g.
https://bugs.freedesktop.org/show_bug.cgi?id=80827#c1
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_blit.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index 6162dfa5a46..8c3e1364160 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -730,25 +730,6 @@ static void si_blit(struct pipe_context *ctx, return; } - if (info->src.box.width == info->dst.box.width && - info->src.box.height == info->dst.box.height && - info->src.format == info->dst.format && - info->src.box.width > 0 && - info->src.box.height > 0 && - info->src.resource->nr_samples <= 1 && - info->dst.resource->nr_samples <= 1 && - info->src.box.depth == info->dst.box.depth && - info->mask == PIPE_MASK_RGBA && - !info->scissor_enable && - (!info->render_condition_enable || - !sctx->b.current_render_cond)) { - sctx->b.dma_copy(ctx, info->dst.resource, info->dst.level, - info->dst.box.x, info->dst.box.y, - info->dst.box.z, info->src.resource, - info->src.level, &(info->src.box)); - return; - } - assert(util_blitter_is_blit_supported(sctx->blitter, info)); /* The driver doesn't decompress resources automatically while |