radv: fix implementation of VK_KHR_create_renderpass2 for multiviews
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 13 Jul 2018 12:14:52 +0000 (14:14 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 17 Jul 2018 07:04:35 +0000 (09:04 +0200)
commitb213947510e350a116d0fe4fc6a5c59aa15225e1
treebaf8458c10804a363b16a03dafa0b8c7f383a67c
parent591b7009440cef9fa0dd3bc09512a7a2906ef33d
radv: fix implementation of VK_KHR_create_renderpass2 for multiviews

The Vulkan 1.1.80 spec says:

"viewMask has the same effect for the described subpass as
 VkRenderPassMultiviewCreateInfo::pViewMasks has on each
 corresponding subpass."

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pass.c