From: Kenneth Graunke Date: Wed, 4 Jul 2018 23:07:28 +0000 (-0700) Subject: iris: actually handle array layers in blits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf34dd7a61c37ab5cb4705eb68796924111f826a;p=mesa.git iris: actually handle array layers in blits --- 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;