diff options
author | Marek Olšák <[email protected]> | 2013-12-06 22:39:48 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-12-14 17:42:08 +0100 |
commit | f0ed082babe29eee502ec81302dae5fc15347e3f (patch) | |
tree | 67c447ab9c0968b26b604958292112e1e35284b3 /src/gallium/drivers/radeonsi | |
parent | 072c5d0573dff817dbd7eb0f2f458167ec46bebb (diff) |
gallium/u_blitter: remove useless parameters from some functions
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/r600_blit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_blit.c b/src/gallium/drivers/radeonsi/r600_blit.c index 3adbb81c03a..7491c27534f 100644 --- a/src/gallium/drivers/radeonsi/r600_blit.c +++ b/src/gallium/drivers/radeonsi/r600_blit.c @@ -528,8 +528,7 @@ static void r600_resource_copy_region(struct pipe_context *ctx, /* translate the dst box as well */ dstx = util_format_get_nblocksx(orig_info[1].format, dstx); dsty = util_format_get_nblocksy(orig_info[1].format, dsty); - } else if (!util_blitter_is_copy_supported(rctx->blitter, dst, src, - PIPE_MASK_RGBAZS)) { + } else if (!util_blitter_is_copy_supported(rctx->blitter, dst, src)) { unsigned blocksize = util_format_get_blocksize(src->format); switch (blocksize) { @@ -574,7 +573,7 @@ static void r600_resource_copy_region(struct pipe_context *ctx, r600_blitter_begin(ctx, R600_COPY); util_blitter_copy_texture(rctx->blitter, dst, dst_level, dstx, dsty, dstz, - src, src_level, psbox, PIPE_MASK_RGBAZS, TRUE); + src, src_level, psbox); r600_blitter_end(ctx); if (restore_orig[0]) |