nvk: Stop returning VK_ERROR_FORMAT_NOT_SUPPORTED for non-blitable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand 2023-01-30 20:11:48 -06:00 committed by Marge Bot
parent 6a481d8170
commit ecbc820898

View file

@ -469,9 +469,6 @@ nvk_GetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice,
if (format->vk_format != base_info->format)
continue;
if (!format->supports_2d_blit)
return VK_ERROR_FORMAT_NOT_SUPPORTED;
if (base_info->type == VK_IMAGE_TYPE_1D)
base_props->imageFormatProperties.maxExtent = (VkExtent3D){32768, 1, 1};
else if (base_info->type == VK_IMAGE_TYPE_2D)