aboutsummaryrefslogtreecommitdiff
path: root/vulkan.py
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-29 15:39:26 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-07 17:53:20 -0600
commitbe10336228bfabe276ba61adf9d6092971d3bdb7 (patch)
treef755f71a6f68cbbdd7b0984c3e0342bcfbacce60 /vulkan.py
parente291354abe5eff9de35075020c7bbc00d4d7cf0e (diff)
downloadusermoji-be10336228bfabe276ba61adf9d6092971d3bdb7.tar.xz
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.
Diffstat (limited to 'vulkan.py')
-rwxr-xr-xvulkan.py17
1 files changed, 11 insertions, 6 deletions
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"),