vk/vulkan.h: Switch to the split ProcAddr functions in 130

This commit is contained in:
Jason Ekstrand
2015-07-07 18:51:53 -07:00
parent db24afee2f
commit e7acdda184
3 changed files with 20 additions and 5 deletions

View File

@@ -274,8 +274,15 @@ VkResult anv_GetPhysicalDeviceInfo(
}
void * vkGetProcAddr(
VkPhysicalDevice physicalDevice,
PFN_vkVoidFunction anv_GetInstanceProcAddr(
VkInstance instance,
const char* pName)
{
return anv_lookup_entrypoint(pName);
}
PFN_vkVoidFunction anv_GetDeviceProcAddr(
VkDevice device,
const char* pName)
{
return anv_lookup_entrypoint(pName);