mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
vulkan/operation: use timeline semaphore fallback if sync2 not supported
gst_vulkan_operation_add_dependency_frame does not fall back to the timeline semaphore implementation if VK_KHR_synchronization2 is compiled in, but not supported by the driver. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6309>
This commit is contained in:
parent
7701e9ffeb
commit
9412565221
1 changed files with 1 additions and 2 deletions
|
@ -1086,7 +1086,7 @@ gst_vulkan_operation_add_dependency_frame (GstVulkanOperation * self,
|
||||||
GST_OBJECT_UNLOCK (self);
|
GST_OBJECT_UNLOCK (self);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
#else
|
#endif /* synchronization2 */
|
||||||
if (priv->has_timeline && wait_stage <= G_MAXUINT32) {
|
if (priv->has_timeline && wait_stage <= G_MAXUINT32) {
|
||||||
if (!priv->deps.signal_semaphores) {
|
if (!priv->deps.signal_semaphores) {
|
||||||
priv->deps.signal_semaphores =
|
priv->deps.signal_semaphores =
|
||||||
|
@ -1145,7 +1145,6 @@ gst_vulkan_operation_add_dependency_frame (GstVulkanOperation * self,
|
||||||
GST_OBJECT_UNLOCK (self);
|
GST_OBJECT_UNLOCK (self);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
#endif /* synchronization2 */
|
|
||||||
|
|
||||||
GST_OBJECT_UNLOCK (self);
|
GST_OBJECT_UNLOCK (self);
|
||||||
#endif /* timeline semaphore */
|
#endif /* timeline semaphore */
|
||||||
|
|
Loading…
Reference in a new issue