From b16fc6cda11576a4dd6c8d95f7bee94121c4b8e7 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 11 May 2018 14:53:28 +1000 Subject: [PATCH] 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: --- src/amd/vulkan/radv_meta_resolve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2