diff options
author | Marek Olšák <[email protected]> | 2012-07-25 12:38:22 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-08-15 19:20:57 +0200 |
commit | 825b45366d5308fd3e8e71c0c1943cb6ca8f69ea (patch) | |
tree | cc921b420803f4af43eca89212f4e1d1caaa4fd1 /src/gallium/drivers/r600/r600_blit.c | |
parent | dacf5dc9ac1a700b86e0dc385513afaff41e7aea (diff) |
gallium/u_blitter: implement blitting multisample resources
It can blit only one sample at a time (it should be called in a loop).
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 3121bb197ad..42fec3f3f0d 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -434,8 +434,8 @@ static void r600_resource_copy_region(struct pipe_context *ctx, } r600_blitter_begin(ctx, R600_COPY_TEXTURE); - util_blitter_copy_texture(rctx->blitter, dst, dst_level, dstx, dsty, dstz, - src, src_level, psbox); + util_blitter_copy_texture(rctx->blitter, dst, dst_level, ~0, dstx, dsty, dstz, + src, src_level, 0, psbox); r600_blitter_end(ctx); if (restore_orig[0]) |