radv: do not resolve all image layers with compute inside a subpass
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 10 Jun 2019 15:45:29 +0000 (17:45 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 11 Jun 2019 06:06:28 +0000 (08:06 +0200)
commit92fa6264cb19b61c7aaaf9c36625f5b7312d4527
tree2d85ed8e3716b5361f4b912768c49740aa9390db
parenta8588f512b41cbba37d9a0f3d31e5275a8adb573
radv: do not resolve all image layers with compute inside a subpass

When resolving inside a subpass, we should rely on the framebuffer
layer count instead of resolving all images layers. This should
improve performance of layered resolves a bit.

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