From ef1bf6d69e99d9a12557a09eccaf4f2b6c628997 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 27 Jul 2012 21:44:17 +0200 Subject: gallium/u_blitter: add ability to blit only depth or only stencil Reviewed-by: Brian Paul --- src/gallium/drivers/r300/r300_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r300') diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 8d82bb920f6..0bfafd93398 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -579,7 +579,7 @@ static void r300_resource_copy_region(struct pipe_context *pipe, r300_blitter_begin(r300, R300_COPY); util_blitter_copy_texture_view(r300->blitter, dst_view, dstx, dsty, src_view, src_box, - src_width0, src_height0); + src_width0, src_height0, PIPE_MASK_RGBAZS); r300_blitter_end(r300); pipe_surface_reference(&dst_view, NULL); -- cgit v1.2.3