From cf34dd7a61c37ab5cb4705eb68796924111f826a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 4 Jul 2018 16:07:28 -0700 Subject: [PATCH] iris: actually handle array layers in blits --- src/gallium/drivers/iris/iris_blit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/iris/iris_blit.c b/src/gallium/drivers/iris/iris_blit.c index da23a9d524c..b83f1aa7172 100644 --- a/src/gallium/drivers/iris/iris_blit.c +++ b/src/gallium/drivers/iris/iris_blit.c @@ -80,9 +80,8 @@ iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info) enum isl_format src_isl_format = iris_get_blorp_format(info->src.format); enum isl_format dst_isl_format = iris_get_blorp_format(info->dst.format); - // XXX: ??? - unsigned dst_layer = 0; - unsigned src_layer = 0; + unsigned dst_layer = info->dst.box.z; + unsigned src_layer = info->src.box.z; struct isl_swizzle src_isl_swizzle = ISL_SWIZZLE_IDENTITY; -- 2.30.2