radv: use compute path for multi-layer images.
authorDave Airlie <airlied@redhat.com>
Fri, 11 May 2018 04:55:29 +0000 (14:55 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 13 May 2018 22:57:54 +0000 (08:57 +1000)
commit5978d54a09e6ad151c0bd365de0e2c82bbf493d1
tree79d8de047476d1b184df4d6fb1965d862761683e
parent98dbaa445a83108b59bd56e8f3224c13c36ba1d5
radv: use compute path for multi-layer images.

I don't think the hw resolve path can't handle multi-layer images.

This fixes all the:
dEQP-VK.renderpass.multisample_resolve.layers_*
tests on my VI card.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: <mesa-stable@lists.freedesktop.org>
src/amd/vulkan/radv_meta_resolve.c