Skip to content

anv: enable VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM for modifier support

Yiwei Zhang requested to merge zzyiwei/mesa:anv-3-planar-format-mod into main

This is a missed format to properly support media interop for Android. Currently only used when layering GL atop Vulkan on Android, but will be used directly with Vulkan when the platform default renderer has switched to skiavk in modern Android.

Test: CtsMediaTestCases and CtsVideoTestCases with angle on venus on anv

Prior effort is in !11281 (merged), and for this new format we only require DRM_FORMAT_MOD_LINEAR along with VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT here, which are both satisfied in anv already.

/cc @chadversary @ryanneph @dawnhan

Edited by Yiwei Zhang

Merge request reports

Loading