vk/vulkan.h: Switch to the split ProcAddr functions in 130
This commit is contained in:
+9
-2
@@ -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);
|
||||
|
||||
@@ -67,6 +67,8 @@ i = 0
|
||||
for line in fileinput.input():
|
||||
m = p.match(line)
|
||||
if (m):
|
||||
if m.group(2) == 'VoidFunction':
|
||||
continue
|
||||
fullname = "vk" + m.group(2)
|
||||
h = hash(fullname)
|
||||
entrypoints.append((m.group(1), m.group(2), m.group(3), i, h))
|
||||
|
||||
Reference in New Issue
Block a user