58a4ae3b99
AHardwareBuffer_Format is lossier than DRM_FORMAT_*, which ends up with unable to resolve implementation defined format upon creating sampler ycbcr conversion. So we now use DRM format as AHB external format. An external format error return in vkCreateSamplerYcbcrConversion is also removed here since that is already an invalid usage per spec (partly because there is no proper error code to return here). Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11480>