mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
anv: add VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 to modifier exceptions
this is implemented Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31516>
This commit is contained in:
parent
6c94c24978
commit
5ba00df1f9
1 changed files with 2 additions and 1 deletions
|
|
@ -807,7 +807,8 @@ anv_get_image_format_features2(const struct anv_physical_device *physical_device
|
|||
* camera/media interop in Android.
|
||||
*/
|
||||
if (vk_format != VK_FORMAT_G8_B8R8_2PLANE_420_UNORM &&
|
||||
vk_format != VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM) {
|
||||
vk_format != VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM &&
|
||||
vk_format != VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16) {
|
||||
anv_finishme("support more multi-planar formats with DRM modifiers");
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue