radv: use the resolve compute path if dest uses multiple layers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 21 Sep 2018 09:36:17 +0000 (11:36 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 21 Sep 2018 14:35:59 +0000 (16:35 +0200)
commitfe3f13cc5a8b70dfb27f8b26c059272e251da390
tree195095c723fc99f3dc1d7eaca9c41bf84fa6d096
parentab80889e92e2a3c2884e5da925424f9f6a88979b
radv: use the resolve compute path if dest uses multiple layers

The hardware path doesn't support resolving layers, for both
source and destination images.

This fixes a reflection issue when MSAA is enabled which
affects GTA V and probably DIRT3.

CC: <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107786
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Gregor Münch <gr.muench_at_gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_resolve.c