OSDN Git Service

radv: fix MSAA on SI gpus.
authorDave Airlie <airlied@redhat.com>
Mon, 7 Aug 2017 06:39:41 +0000 (07:39 +0100)
committerAndres Gomez <agomez@igalia.com>
Mon, 21 Aug 2017 11:30:49 +0000 (14:30 +0300)
commit98d54d0c95fd67e56c4de67757a16f612e77c7d5
tree7f7d296a5bd7d4ed93c006456fdde309f7097ed6
parent3ba481ba48a249f33681a3250e895803e4f3fa25
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>
(cherry picked from commit 8bf39307517a04263532e3c5a49b5be1f4a99032)
[Andres Gomez: resolve trivial conflicts]
Signed-off-by: Andres Gomez <agomez@igalia.com>
Conflicts:
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_device.c