From be10336228bfabe276ba61adf9d6092971d3bdb7 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Mon, 29 Jun 2015 15:39:26 -0600 Subject: 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. --- vulkan.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'vulkan.py') diff --git a/vulkan.py b/vulkan.py index ffba32c1..b3b69753 100755 --- a/vulkan.py +++ b/vulkan.py @@ -281,19 +281,24 @@ core = Extension( 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"), -- cgit v1.2.3