summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-07-27 21:44:17 +0200
committerMarek Olšák <maraeo@gmail.com>2012-08-04 13:53:07 +0200
commitef1bf6d69e99d9a12557a09eccaf4f2b6c628997 (patch)
tree294ae7cef0f3ad1eb29f6505be8ec4ac41563e22 /src/gallium/drivers/r300/r300_blit.c
parent88426780479743036993a0fcd112232d2792690a (diff)
downloadexternal_mesa3d-ef1bf6d69e99d9a12557a09eccaf4f2b6c628997.zip
external_mesa3d-ef1bf6d69e99d9a12557a09eccaf4f2b6c628997.tar.gz
external_mesa3d-ef1bf6d69e99d9a12557a09eccaf4f2b6c628997.tar.bz2
gallium/u_blitter: add ability to blit only depth or only stencil
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r--src/gallium/drivers/r300/r300_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index 8d82bb9..0bfafd9 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);