radv: do not decompress all image layers before resolving inside a subpass
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 10 Jun 2019 15:45:32 +0000 (17:45 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 11 Jun 2019 06:06:39 +0000 (08:06 +0200)
commitb06d1f029dd3f41a74043dfabd9aa2a1fa23ef27
treec2a7521dec17793ad095782ced9d49adf64aa444
parent4efbd963ec6cd92c2a8455087e20cdf11016499f
radv: do not decompress all image layers before resolving inside a subpass

When decompressing resolve source images, we should rely on the
framebuffer layer count instead of resolving all images layers.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-By: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_resolve.c