mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
vkbarrier: Use guint64 for VkFlags and VkFlags2
While VkPipelineStageFlags is an enum (arguably backed as uint32 in 32bit platforms), VkPipelineStageFlags2 is a redefinition of guint64; likewise for VkAccessFlags and VkAccessFlags2. This patch types both members in GstVulkanBarrierMemoryInfo as guint64 for compatibility, so it could be used with or without synchronization2 vulkan extension. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5079>
This commit is contained in:
parent
8809ce5648
commit
964aec54b4
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ struct _GstVulkanBarrierMemoryInfo
|
|||
GstVulkanBarrierType type;
|
||||
GstVulkanBarrierFlags flags;
|
||||
GstVulkanQueue * queue;
|
||||
VkPipelineStageFlags pipeline_stages;
|
||||
VkAccessFlags access_flags;
|
||||
guint64 pipeline_stages;
|
||||
guint64 access_flags;
|
||||
|
||||
/* <private> */
|
||||
gpointer _reserved [GST_PADDING];
|
||||
|
|
Loading…
Reference in a new issue