[Mesa-stable] [Mesa-dev] [PATCH 1/3] radv/resolve: do fmask decompress on all layers.

Juan A. Suarez Romero jasuarez at igalia.com
Mon May 14 08:33:00 UTC 2018


On Fri, 2018-05-11 at 14:56 +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> For a multi-layer subpass resolve we want to make sure we flush all
> the layers.

Hello!

The full series was nominated for stable, and hence I've cherry-picked them for
next 18.0 stable, except this specific patch, which requires earlier commits
ab0e625a671 ("radv: add radv_decompress_resolve_{subpass}_src() helpers") and
62510846b6e ("radv: clean up radv_decompress_resolve_subpass_src()") and are not part of the 18.0 branch.


Please, if you need this patch in 18.0 too, try to submit a backport that I can
apply in the 18.0 branch. Otherwise, I'll keep it rejected.


Thank you!

>  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, &region);


More information about the mesa-stable mailing list