Module: Mesa Branch: master Commit: b16fc6cda11576a4dd6c8d95f7bee94121c4b8e7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b16fc6cda11576a4dd6c8d95f7bee94121c4b8e7
Author: Dave Airlie <airl...@redhat.com> Date: Fri May 11 14:53:28 2018 +1000 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 <b...@basnieuwenhuizen.nl> Cc: <mesa-sta...@lists.freedesktop.org> --- 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 f3e088b10c..75916713c0 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); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit