From b85c94fc891fe9d73b3a032aea8a6a71b8e6173b Mon Sep 17 00:00:00 2001 From: Rebecca Mckeever Date: Thu, 6 Feb 2025 15:01:33 -0800 Subject: [PATCH] panvk: Allow 3-byte formats We are now using the vk_meta buffer <-> image copy helpers, which do support 3-byte formats. Fixes: 50679213 ("panvk: Switch to vk_meta") Signed-off-by: Rebecca Mckeever Reviewed-by: Erik Faye-Lund Reviewed-by: Benjamin Lee Part-of: --- src/panfrost/vulkan/panvk_physical_device.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/panfrost/vulkan/panvk_physical_device.c b/src/panfrost/vulkan/panvk_physical_device.c index 3a03332a5e6..303fbefabe0 100644 --- a/src/panfrost/vulkan/panvk_physical_device.c +++ b/src/panfrost/vulkan/panvk_physical_device.c @@ -1197,10 +1197,6 @@ format_is_supported(struct panvk_physical_device *physical_device, return false; } - /* 3byte formats are not supported by the buffer <-> image copy helpers. */ - if (util_format_get_blocksize(pfmt) == 3) - return false; - return true; }