From 5b6b77b8dceac346b4d279b8e5c0d8eebec2f0e8 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 27 Sep 2017 00:24:03 +0200 Subject: vo_gpu: vulkan: normalize use of *Flags and *FlagBits FlagBits is just the name of the enum. The actual data type representing a combination of these flags follows the *Flags convention. (The relevant difference is that the latter is defined to be uint32_t instead of left implicit) For consistency, use *Flags everywhere instead of randomly switching between *Flags and *FlagBits. Also fix a wrong type name on `stageFlags`, pointed out by @atomnuker --- video/out/vulkan/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vulkan/utils.c') diff --git a/video/out/vulkan/utils.c b/video/out/vulkan/utils.c index 3d11062939..068b5d8861 100644 --- a/video/out/vulkan/utils.c +++ b/video/out/vulkan/utils.c @@ -637,7 +637,7 @@ void vk_cmd_callback(struct vk_cmd *cmd, vk_cb callback, void *p, void *arg) } void vk_cmd_dep(struct vk_cmd *cmd, VkSemaphore dep, - VkPipelineStageFlagBits depstage) + VkPipelineStageFlags depstage) { assert(cmd->num_deps < MPVK_MAX_CMD_DEPS); cmd->deps[cmd->num_deps] = dep; -- cgit v1.2.3