Module: Mesa Branch: main Commit: fa79d036f1ca5db54126c0d2e724a6faf1322b2a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa79d036f1ca5db54126c0d2e724a6faf1322b2a
Author: Boris Brezillon <[email protected]> Date: Tue Apr 19 10:57:15 2022 +0200 dzn: Decorrelate external image info and external image properties One can be present without the other. Reviewed-by: Erik Faye-Lund <[email protected]> Reviewed-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926> --- src/microsoft/vulkan/dzn_device.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c index 0e174df2403..cfda9e73ff1 100644 --- a/src/microsoft/vulkan/dzn_device.c +++ b/src/microsoft/vulkan/dzn_device.c @@ -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;
