diff options
author | Philip Langdale <philipl@overt.org> | 2018-11-03 09:19:09 -0700 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-11-03 23:53:08 +0200 |
commit | c8a065df12f533c7efab4e3cc763bf63ef8cc11f (patch) | |
tree | 4cfda8b3b76624abec28359ec7dfaf6cc380c1e7 /video/out/vulkan/utils.c | |
parent | 880c59d1890286899a49be8c743f23889c42e137 (diff) | |
download | mpv-c8a065df12f533c7efab4e3cc763bf63ef8cc11f.tar.bz2 mpv-c8a065df12f533c7efab4e3cc763bf63ef8cc11f.tar.xz |
vo_gpu: vulkan: Always use KHR suffix types and defines
I was inconsistent about this originally, as the functionality was
moved into the core spec in 1.1 and so both suffixed and unsuffixed
versions of everything exist and can be mixed together.
There's no reason to fail to build with 1.0.39+ so I'm fixing the
names.
Diffstat (limited to 'video/out/vulkan/utils.c')
-rw-r--r-- | video/out/vulkan/utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/vulkan/utils.c b/video/out/vulkan/utils.c index 1ad55d1275..e4bf58f514 100644 --- a/video/out/vulkan/utils.c +++ b/video/out/vulkan/utils.c @@ -333,12 +333,12 @@ bool mpvk_get_phys_device_uuid(struct mpvk_ctx *vk, uint8_t uuid_out[VK_UUID_SIZ { assert(vk->physd); - VkPhysicalDeviceIDProperties idprops = { - .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES, + VkPhysicalDeviceIDPropertiesKHR idprops = { + .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR, }; - VkPhysicalDeviceProperties2 props = { - .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2, + VkPhysicalDeviceProperties2KHR props = { + .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR, .pNext = &idprops, }; |