aboutsummaryrefslogtreecommitdiff
path: root/vulkan.py
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-23 14:21:05 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-26 16:24:10 -0600
commit014ded8f27412b0d3d29dc40352d938253a57368 (patch)
tree2c7f67895d02b73a28aef86ff09193fcb1a3d344 /vulkan.py
parentabd50880e9bee98cb77aec5186781d4098934e0c (diff)
downloadusermoji-014ded8f27412b0d3d29dc40352d938253a57368.tar.xz
bug-14258: Make descriptor pools and command pools more consistent
Diffstat (limited to 'vulkan.py')
-rwxr-xr-xvulkan.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/vulkan.py b/vulkan.py
index 3a690a48..3581d30e 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -622,14 +622,12 @@ core = Extension(
Proto("VkResult", "ResetDescriptorPool",
[Param("VkDevice", "device"),
- Param("VkDescriptorPool", "descriptorPool")]),
+ Param("VkDescriptorPool", "descriptorPool"),
+ Param("VkDescriptorPoolResetFlags", "flags")]),
Proto("VkResult", "AllocDescriptorSets",
[Param("VkDevice", "device"),
- Param("VkDescriptorPool", "descriptorPool"),
- Param("VkDescriptorSetUsage", "setUsage"),
- Param("uint32_t", "count"),
- Param("const VkDescriptorSetLayout*", "pSetLayouts"),
+ Param("const VkDescriptorSetAllocInfo*", "pAllocInfo"),
Param("VkDescriptorSet*", "pDescriptorSets")]),
Proto("VkResult", "FreeDescriptorSets",
@@ -659,14 +657,16 @@ core = Extension(
Param("VkCmdPool", "cmdPool"),
Param("VkCmdPoolResetFlags", "flags")]),
- Proto("VkResult", "CreateCommandBuffer",
+ Proto("VkResult", "AllocCommandBuffers",
[Param("VkDevice", "device"),
- Param("const VkCmdBufferCreateInfo*", "pCreateInfo"),
- Param("VkCmdBuffer*", "pCmdBuffer")]),
+ Param("const VkCmdBufferAllocInfo*", "pAllocInfo"),
+ Param("VkCmdBuffer*", "pCmdBuffers")]),
- Proto("void", "DestroyCommandBuffer",
+ Proto("void", "FreeCommandBuffers",
[Param("VkDevice", "device"),
- Param("VkCmdBuffer", "commandBuffer")]),
+ Param("VkCmdPool", "cmdPool"),
+ Param("uint32_t", "count"),
+ Param("const VkCmdBuffer*", "pCommandBuffers")]),
Proto("VkResult", "BeginCommandBuffer",
[Param("VkCmdBuffer", "cmdBuffer"),