aux/vk: Add vkGetAndroidHardwareBufferPropertiesANDROID.

This commit is contained in:
Lubosz Sarnecki 2020-09-25 20:04:28 +02:00 committed by Ryan Pavlik
parent 2df2daa00c
commit 2cc8252c05
2 changed files with 2 additions and 0 deletions

View file

@ -746,6 +746,7 @@ vk_get_device_functions(struct vk_bundle *vk)
vk->vkGetMemoryFdKHR = GET_DEV_PROC(vk, vkGetMemoryFdKHR);
#ifdef VK_USE_PLATFORM_ANDROID_KHR
vk->vkGetMemoryAndroidHardwareBufferANDROID = GET_DEV_PROC(vk, vkGetMemoryAndroidHardwareBufferANDROID);
vk->vkGetAndroidHardwareBufferPropertiesANDROID = GET_DEV_PROC(vk, vkGetAndroidHardwareBufferPropertiesANDROID);
#endif
vk->vkCreateBuffer = GET_DEV_PROC(vk, vkCreateBuffer);
vk->vkDestroyBuffer = GET_DEV_PROC(vk, vkDestroyBuffer);

View file

@ -116,6 +116,7 @@ struct vk_bundle
#ifdef VK_USE_PLATFORM_ANDROID_KHR
PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID;
PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID;
#endif
PFN_vkCreateBuffer vkCreateBuffer;