loader: bug 12992: extension and layer support
Much of layers and loader updated to work with
final extension and layer mechanism.
Not everything is working here.
diff --git a/vulkan.py b/vulkan.py
index ffba32c..b3b6975 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -281,19 +281,24 @@
Proto("VkResult", "GetPhysicalDeviceExtensionProperties",
[Param("VkPhysicalDevice", "gpu"),
- Param("uint32_t", "extensionIndex"),
+ Param("const char*", "pLayerName"),
+ Param("uint32_t*", "pCount"),
Param("VkExtensionProperties*", "pProperties")]),
- Proto("VkResult", "GetPhysicalDeviceExtensionCount",
+ Proto("VkResult", "GetPhysicalDeviceLayerProperties",
[Param("VkPhysicalDevice", "gpu"),
- Param("uint32_t*", "pCount")]),
+ Param("const char*", "pLayerName"),
+ Param("uint32_t*", "pCount"),
+ Param("VkLayerProperties*", "pProperties")]),
Proto("VkResult", "GetGlobalExtensionProperties",
- [Param("uint32_t", "extensionIndex"),
+ [Param("const char*", "pLayerName"),
+ Param("uint32_t*", "pCount"),
Param("VkExtensionProperties*", "pProperties")]),
- Proto("VkResult", "GetGlobalExtensionCount",
- [Param("uint32_t*", "pCount")]),
+ Proto("VkResult", "GetGlobalLayerProperties",
+ [Param("uint32_t*", "pCount"),
+ Param("VkExtensionProperties*", "pProperties")]),
Proto("VkResult", "GetDeviceQueue",
[Param("VkDevice", "device"),