radv: fix MSAA on SI gpus.
authorDave Airlie <airlied@redhat.com>
Mon, 7 Aug 2017 06:39:41 +0000 (07:39 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Aug 2017 07:38:14 +0000 (08:38 +0100)
commit8bf39307517a04263532e3c5a49b5be1f4a99032
treeac4a1c6642bedd22607da08b75d1b0a56c54db91
parent9f59cb2cdae15dc21cd9d27e4f80d0f8c841beef
radv: fix MSAA on SI gpus.

This ports the workaround from radeonsi, that was missing in radv.

This fixes Talos rendering when MSAA is enabled on my Tahiti card.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fixes: f4e499ec7 (radv: add initial non-conformant radv vulkan driver)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c