From 0b0697e80dd442d7e7cb23641ad8f58f82df120d Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 12 Sep 2012 23:37:17 +0200 Subject: gallium/u_blitter: add gallium blit implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The original blit function is extended and the otAher functions reuse it. Tested-by: Michel Dänzer Reviewed-by: Brian Paul --- src/gallium/drivers/radeonsi/r600_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/radeonsi/r600_blit.c') diff --git a/src/gallium/drivers/radeonsi/r600_blit.c b/src/gallium/drivers/radeonsi/r600_blit.c index 4406204b512..e599deb8647 100644 --- a/src/gallium/drivers/radeonsi/r600_blit.c +++ b/src/gallium/drivers/radeonsi/r600_blit.c @@ -249,8 +249,8 @@ static void r600_hw_copy_region(struct pipe_context *ctx, struct r600_context *rctx = (struct r600_context *)ctx; r600_blitter_begin(ctx, R600_COPY); - util_blitter_copy_texture(rctx->blitter, dst, dst_level, ~0, dstx, dsty, dstz, - src, src_level, 0, src_box); + util_blitter_copy_texture(rctx->blitter, dst, dst_level, dstx, dsty, dstz, + src, src_level, src_box, PIPE_MASK_RGBAZS, TRUE); r600_blitter_end(ctx); } -- cgit v1.2.3