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:
Víctor Manuel Jáquez Leal 2023-07-31 18:41:24 +02:00 committed by GStreamer Marge Bot
parent 8809ce5648
commit 964aec54b4

View file

@ -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];