From ecbc8208982c0a1b017eb48eb1c5b67459d7e7df Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Jan 2023 20:11:48 -0600 Subject: [PATCH] nvk: Stop returning VK_ERROR_FORMAT_NOT_SUPPORTED for non-blitable Part-of: --- src/nouveau/vulkan/nvk_physical_device.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 311b7e7..0c5e0fa 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -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) -- 2.7.4