radv: don't use hw resolve for integer image formats
authorDave Airlie <airlied@redhat.com>
Tue, 23 Jan 2018 04:57:12 +0000 (14:57 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 23 Jan 2018 22:53:18 +0000 (08:53 +1000)
commit4df414bbd2f1a44840c982198f4c8353f242ca15
tree961d9f78b2269e23edc581749fa6395273211ad2
parent316d762186f0bfc225b82794fdae520275a448db
radv: don't use hw resolve for integer image formats

From reading AMDVLK it currently never uses hw resolve paths.

This patch takes from radeonsi which doesn't use hw resolve
for integer formats, and does the same for radv.

This fixes:
dEQP-VK.renderpass.suballocation.multisample*uint tests.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fixes: 2a04f5481d (radv/meta: select resolve paths)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_resolve.c