From 40699f74b81c12937c35303de1ce4b637f35f8c9 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 11 Jun 2019 08:17:22 +0200 Subject: [PATCH] radv: remove extra assignment in radv_decompress_resolve_subpass_src() baseArrayLayer is defined twice, trivial. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_meta_resolve.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/vulkan/radv_meta_resolve.c b/src/amd/vulkan/radv_meta_resolve.c index f1fa05cf8b3..8c4bfa63ac7 100644 --- a/src/amd/vulkan/radv_meta_resolve.c +++ b/src/amd/vulkan/radv_meta_resolve.c @@ -725,7 +725,6 @@ radv_decompress_resolve_subpass_src(struct radv_cmd_buffer *cmd_buffer) VkImageResolve region = {}; region.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - region.srcSubresource.baseArrayLayer = 0; region.srcSubresource.mipLevel = 0; region.srcSubresource.baseArrayLayer = src_iview->base_layer; region.srcSubresource.layerCount = layer_count; -- 2.30.2