mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 01:30:08 +01:00
dzn: Decorrelate external image info and external image properties
One can be present without the other. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926>
This commit is contained in:
parent
cd4bc4893b
commit
fa79d036f1
1 changed files with 0 additions and 2 deletions
|
|
@ -727,8 +727,6 @@ dzn_physical_device_get_image_format_properties(struct dzn_physical_device *pdev
|
|||
}
|
||||
}
|
||||
|
||||
assert((external_props != NULL) == (external_info != NULL));
|
||||
|
||||
/* TODO: support image import */
|
||||
if (external_info && external_info->handleType != 0)
|
||||
return VK_ERROR_FORMAT_NOT_SUPPORTED;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue