From 825b45366d5308fd3e8e71c0c1943cb6ca8f69ea Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 25 Jul 2012 12:38:22 +0200 Subject: gallium/u_blitter: implement blitting multisample resources It can blit only one sample at a time (it should be called in a loop). --- src/gallium/drivers/r300/r300_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/r300/r300_blit.c') diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 0bfafd93398..1053706ad57 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -577,8 +577,8 @@ static void r300_resource_copy_region(struct pipe_context *pipe, src_view = r300_create_sampler_view_custom(pipe, src, &src_templ, src_width0, src_height0); r300_blitter_begin(r300, R300_COPY); - util_blitter_copy_texture_view(r300->blitter, dst_view, dstx, dsty, - src_view, src_box, + util_blitter_copy_texture_view(r300->blitter, dst_view, ~0, dstx, dsty, + src_view, 0, src_box, src_width0, src_height0, PIPE_MASK_RGBAZS); r300_blitter_end(r300); -- cgit v1.2.3