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 <rebecca.mckeever@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Benjamin Lee <benjamin.lee@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33437>
This commit is contained in:
committed by
Marge Bot
parent
26d90674c2
commit
b85c94fc89
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user