From: Marek Olšák Date: Wed, 15 Aug 2012 18:03:23 +0000 (+0200) Subject: radeonsi: fix build breakage after u_blitter changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97b4b97b2f9b0e4532c8ba9cedfff9f013a76fc2;p=mesa.git radeonsi: fix build breakage after u_blitter changes --- diff --git a/src/gallium/drivers/radeonsi/r600_blit.c b/src/gallium/drivers/radeonsi/r600_blit.c index 81b159ae3e0..9a0cd806bc1 100644 --- a/src/gallium/drivers/radeonsi/r600_blit.c +++ b/src/gallium/drivers/radeonsi/r600_blit.c @@ -142,7 +142,7 @@ void r600_blit_uncompress_depth(struct pipe_context *ctx, struct r600_resource_t (struct pipe_resource*)texture->flushed_depth_texture, &surf_tmpl); r600_blitter_begin(ctx, R600_DECOMPRESS); - util_blitter_custom_depth_stencil(rctx->blitter, zsurf, cbsurf, rctx->custom_dsa_flush, depth); + util_blitter_custom_depth_stencil(rctx->blitter, zsurf, cbsurf, ~0, rctx->custom_dsa_flush, depth); r600_blitter_end(ctx); pipe_surface_reference(&zsurf, NULL); @@ -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, dstx, dsty, dstz, - src, src_level, src_box); + util_blitter_copy_texture(rctx->blitter, dst, dst_level, ~0, dstx, dsty, dstz, + src, src_level, 0, src_box); r600_blitter_end(ctx); }