panvk: Enable VK_SAMPLE_COUNT_2_BIT support on v12+
v12+ supports this, let's expose it. Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Reviewed-by: Olivia Lee <olivia.lee@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34997>
This commit is contained in:
committed by
Marge Bot
parent
8e05222e1d
commit
4c0ce0c6f9
@@ -619,6 +619,9 @@ get_sample_counts(unsigned arch, unsigned max_tib_size,
|
||||
|
||||
assert(max_msaa >= 4);
|
||||
|
||||
if (arch >= 12)
|
||||
sample_counts |= VK_SAMPLE_COUNT_2_BIT;
|
||||
|
||||
if (max_msaa >= 8)
|
||||
sample_counts |= VK_SAMPLE_COUNT_8_BIT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user