summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_texture.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-08-09 17:17:18 +0200
committerMarek Olšák <[email protected]>2012-08-15 19:20:58 +0200
commit94b634eca0e2bd32d4b5bd92d06d510eae8a5625 (patch)
treecc9defa420159e913f68b8e2cb3e9c50b3c303e7 /src/gallium/drivers/r600/r600_texture.c
parent6d3ad2dd2ba3ccdd211dbc618404519930631be2 (diff)
r600g: implement MSAA depth-stencil decompression and resolve
and integer textures, which are resolved the same as depth, I think.
Diffstat (limited to 'src/gallium/drivers/r600/r600_texture.c')
-rw-r--r--src/gallium/drivers/r600/r600_texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index 1fdecabc1fb..f4c30de1dd1 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -517,7 +517,8 @@ struct pipe_transfer* r600_texture_get_transfer(struct pipe_context *ctx,
r600_blit_uncompress_depth(ctx, rtex, staging_depth,
level, level,
- box->z, box->z + box->depth - 1);
+ box->z, box->z + box->depth - 1,
+ 0, 0);
trans->transfer.stride = staging_depth->pitch_in_bytes[level];
trans->offset = r600_texture_get_offset(staging_depth, level, box->z);