d73b9a7229
The lifetime of `struct vk_sync_timeline` is tied to the lifetime of `vk_fence` or `vk_semaphore` objects. To better manage this lifecycle, create a wrapper struct `vk_sync_timeline_state` that contains the timeline state and is dynamically allocated when the timeline is initialized. This separation allows the timeline state to persist independently of the sync object lifecycle. Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35921>