mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 17:10:32 +01:00
radv: stop blocking non-2D import/export ops
these work fine Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33323>
This commit is contained in:
parent
ca8a740e3b
commit
20013a1774
1 changed files with 0 additions and 5 deletions
|
|
@ -759,9 +759,6 @@ radv_check_modifier_support(struct radv_physical_device *pdev, const VkPhysicalD
|
|||
{
|
||||
uint32_t max_width, max_height;
|
||||
|
||||
if (info->type != VK_IMAGE_TYPE_2D)
|
||||
return VK_ERROR_FORMAT_NOT_SUPPORTED;
|
||||
|
||||
if (radv_is_format_emulated(pdev, format))
|
||||
return VK_ERROR_FORMAT_NOT_SUPPORTED;
|
||||
|
||||
|
|
@ -1100,8 +1097,6 @@ get_external_image_format_properties(struct radv_physical_device *pdev,
|
|||
break;
|
||||
FALLTHROUGH;
|
||||
case VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT:
|
||||
if (pImageFormatInfo->type != VK_IMAGE_TYPE_2D)
|
||||
break;
|
||||
flags = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT | VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT;
|
||||
if (handleType == VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT &&
|
||||
pImageFormatInfo->tiling != VK_IMAGE_TILING_LINEAR)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue