radv/meta: select resolve paths
authorDave Airlie <airlied@redhat.com>
Fri, 28 Apr 2017 02:56:25 +0000 (03:56 +0100)
committerDave Airlie <airlied@redhat.com>
Sun, 7 May 2017 22:41:39 +0000 (23:41 +0100)
commit2a04f5481df8ce6cb4c43382535ba9944cb3d723
tree97e6144a5f65d36e8254b94b7800b83341929027
parent69136f4e633be4eeed0b226b02c9876511414b76
radv/meta: select resolve paths

There are 3 resolve paths, the fastest being the hw resolver
but it has restriction on tile modes and can't do subresolves,
the compute resolver is next speed wise, but can't handle DCC
destinations, the fragment resolver handles that case.

This will end up with a slow down as currently we hack the
hw resolver paths when they shouldn't work, but we shouldn't
keep doing that.

The next patch removes the hacks.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_resolve.c