radv: add separate fmask tile swizzle counter.
authorDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2017 05:54:15 +0000 (06:54 +0100)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Aug 2017 23:08:43 +0000 (00:08 +0100)
commit1e696b962b7207bb87cf9fc91e2a9de9a3becfba
tree1c142ad9ce85b5ccdd415d59f0a4774795360222
parent3f389f75b6e9b55467aca681af09b83998ee0e46
radv: add separate fmask tile swizzle counter.

This mirrors what Marek has done for radeonsi, and uses
a separate counter to handle the fmask surface for MSAA
MRTs.

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