libvulkan: Implement new VkFence parameter in vkAcquireNextImageKHR
This parameter was added recently but wasn't hooked up. This adds a new parameter to the vkAcquireImageANDROID extension function, and plumbs the fence through from vkAcquireNextImageKHR to it. This change also fixes some function signatures for API functions that are implemented in the loader bottom rather than the driver. These functions are only ever called through function pointers returned by vkGet*ProcAddr, and therefore pass through a cast to PFN_vkVoidFunction. So the compiler had no way to know they were supposed to match a particular prototype, and couldn't issue an error when they didn't. This change adds explicit static casts to the expected function pointer type before reinterpret casting to the generic function pointer type to enable compile errors. Change-Id: I8a7e065502f783d5f2381b43c880644868234f8f (cherry picked from commit f62f5de0c60212796b6d910cbd194c7002226264)
Loading
Please register or sign in to comment