summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/utils.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-27 00:24:03 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-27 00:25:18 +0200
commit5b6b77b8dceac346b4d279b8e5c0d8eebec2f0e8 (patch)
treef32ae2c32ca51b2868a78ead1ffe60a0a1c2c09f /video/out/vulkan/utils.h
parent0ba6c7d73f2886b23ca2c5e7d09296140bf84f35 (diff)
downloadmpv-5b6b77b8dceac346b4d279b8e5c0d8eebec2f0e8.tar.bz2
mpv-5b6b77b8dceac346b4d279b8e5c0d8eebec2f0e8.tar.xz
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
Diffstat (limited to 'video/out/vulkan/utils.h')
-rw-r--r--video/out/vulkan/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vulkan/utils.h b/video/out/vulkan/utils.h
index 4b9d9b86e3..0cc8a29430 100644
--- a/video/out/vulkan/utils.h
+++ b/video/out/vulkan/utils.h
@@ -116,7 +116,7 @@ void vk_cmd_callback(struct vk_cmd *cmd, vk_cb callback, void *p, void *arg);
// Associate a dependency for the current command. This semaphore must signal
// by the corresponding stage before the command may execute.
void vk_cmd_dep(struct vk_cmd *cmd, VkSemaphore dep,
- VkPipelineStageFlagBits depstage);
+ VkPipelineStageFlags depstage);
#define MPVK_MAX_QUEUES 8
#define MPVK_MAX_CMDS 64