From: Samuel Pitoiset Date: Tue, 11 Jun 2019 06:17:22 +0000 (+0200) Subject: radv: remove extra assignment in radv_decompress_resolve_subpass_src() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40699f74b81c12937c35303de1ce4b637f35f8c9;p=mesa.git radv: remove extra assignment in radv_decompress_resolve_subpass_src() baseArrayLayer is defined twice, trivial. Signed-off-by: Samuel Pitoiset --- 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;