From: Dave Airlie Date: Fri, 11 May 2018 04:53:28 +0000 (+1000) Subject: radv/resolve: do fmask decompress on all layers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b16fc6cda11576a4dd6c8d95f7bee94121c4b8e7;p=mesa.git radv/resolve: do fmask decompress on all layers. For a multi-layer subpass resolve we want to make sure we flush all the layers. Reviewed-by: Bas Nieuwenhuizen Cc: --- diff --git a/src/amd/vulkan/radv_meta_resolve.c b/src/amd/vulkan/radv_meta_resolve.c index f3e088b10c4..75916713c00 100644 --- a/src/amd/vulkan/radv_meta_resolve.c +++ b/src/amd/vulkan/radv_meta_resolve.c @@ -695,7 +695,7 @@ radv_decompress_resolve_subpass_src(struct radv_cmd_buffer *cmd_buffer) VkImageResolve region = {}; region.srcSubresource.baseArrayLayer = 0; region.srcSubresource.mipLevel = 0; - region.srcSubresource.layerCount = 1; + region.srcSubresource.layerCount = src_image->info.array_size; radv_decompress_resolve_src(cmd_buffer, src_image, src_att.layout, 1, ®ion);