According to the #formats-requiring-sampler-ycbcr-conversion section
VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT is not checked for any
format required of samplerYcbcrConversion
Components: Vulkan
Affects: dEQP-VK.api.info.format_properties.*
VK-GL-CTS issue: 2290
Change-Id: Ie7da73e9a763b060511d2cd3b809bfc723d01e10
const VkFormatFeatureFlags required = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT
| VK_FORMAT_FEATURE_TRANSFER_SRC_BIT
| VK_FORMAT_FEATURE_TRANSFER_DST_BIT
- | VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT
- | VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT;
+ | VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT;
if ((supported & required) != required)
{