mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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:
parent
6a481d8170
commit
ecbc820898
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue