diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-23 14:21:05 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-26 16:24:10 -0600 |
| commit | 014ded8f27412b0d3d29dc40352d938253a57368 (patch) | |
| tree | 2c7f67895d02b73a28aef86ff09193fcb1a3d344 /vulkan.py | |
| parent | abd50880e9bee98cb77aec5186781d4098934e0c (diff) | |
| download | usermoji-014ded8f27412b0d3d29dc40352d938253a57368.tar.xz | |
bug-14258: Make descriptor pools and command pools more consistent
Diffstat (limited to 'vulkan.py')
| -rwxr-xr-x | vulkan.py | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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"), |
