panvk: Only advertise MSAA-4

We'll see if we want to support MSAA 8 and 16 later. MSAA 2 is not
supported.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12762>
This commit is contained in:
Boris Brezillon 2021-09-03 17:00:53 +02:00
parent 393615510d
commit 09aab6471d

View file

@ -693,7 +693,8 @@ panvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
}
}
VkSampleCountFlags sample_counts = 0xf;
VkSampleCountFlags sample_counts =
VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_4_BIT;
/* make sure that the entire descriptor set is addressable with a signed
* 32-bit int. So the sum of all limits scaled by descriptor size has to