Skip some invalid usage bit checks when creating an image with the VK_IMAGE_CREATE_EXTENDED_USAGE_BIT flag set. This fixes some probably-false errors reported in a current issue but it is not a complete implementation of the MAINTENANCE2 language, which requires inspecting the combined usage bits from all compatible formats. The search seems expensive, yet insufficient to determine that the particular compatible format later selected for the imageview has the usage features in question. The changes here fix the current issue and leave a TODO for the search.
Also adds support for checking for a chained VkImageViewUsageCreateInfo struct when doing usage bit validation in vkCreateImageView(), including a few new VUIDs and a test to match.
Skip some invalid usage bit checks when creating an image with the VK_IMAGE_CREATE_EXTENDED_USAGE_BIT flag set. This fixes some probably-false errors reported in a current issue but it is not a complete implementation of the MAINTENANCE2 language, which requires inspecting the combined usage bits from all compatible formats. The search seems expensive, yet insufficient to determine that the particular compatible format later selected for the imageview has the usage features in question. The changes here fix the current issue and leave a TODO for the search.
Also adds support for checking for a chained VkImageViewUsageCreateInfo struct when doing usage bit validation in vkCreateImageView(), including a few new VUIDs and a test to match.
Resolves: #2464 Resolves: #2538