vulkan.h: V108 -- Static Types, Bug# 13919
diff --git a/vk-generate.py b/vk-generate.py
index 6f136b7..b40bb22 100755
--- a/vk-generate.py
+++ b/vk-generate.py
@@ -121,7 +121,7 @@
stmts.append("// GPA has to be first entry inited and uses wrapped object since it triggers init")
stmts.append("table->GetDeviceProcAddr =(PFN_vkGetDeviceProcAddr) gpa(device,\"vkGetDeviceProcAddr\");")
for proto in self.protos:
- if proto.name == "CreateInstance" or proto.name == "GetGlobalExtensionInfo" or proto.params[0].ty == "VkInstance" or proto.params[0].ty == "VkPhysicalDevice":
+ if proto.name == "CreateInstance" or proto.name == "GetGlobalExtensionProperties" or proto.name == "GetGlobalExtensionCount" or proto.params[0].ty == "VkInstance" or proto.params[0].ty == "VkPhysicalDevice":
continue
if proto.name != "GetDeviceProcAddr":
stmts.append("table->%s = (PFN_vk%s) gpa(baseDevice, \"vk%s\");" %
@@ -248,7 +248,8 @@
"GetInstanceProcAddr",
"GetDeviceProcAddr",
"EnumerateLayers",
- "GetGlobalExtensionInfo",
+ "GetGlobalExtensionCount",
+ "GetGlobalExtensionProperties"
],
}