0c764afac1
The WSI code is about to start querying for available semaphore handle types via GetPhysicalDeviceExternalSemaphoreProperties in wsi_init(). For drivers that use vk_sync, supported_sync_types needs to be initialized before GetPhysicalDeviceExternalSemaphoreProperties is called. Really, wsi_init() should be the very last step of physical device setup. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4037>