From 97ea1165599364c9bed23540093503ef3f71cb32 Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Mon, 4 Feb 2013 17:43:24 -0500 Subject: [PATCH] work around corruption when uploading to slice --- src/gallium/drivers/r600/r600_state.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 44cd00e..3dcf08b 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -3110,6 +3110,8 @@ boolean r600_dma_blit(struct pipe_context *ctx, if ((src_pitch & 0x7) || (src_box->y & 0x7) || (dst_y & 0x7)) { return FALSE; } +if (dst_z || src_box->z) +return FALSE; if (src_mode == dst_mode) { uint64_t dst_offset, src_offset, size; -- 1.7.10.4