diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-07-07 11:50:03 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-17 10:05:17 -0600 |
| commit | a74c5b2357946c7f48dd04852c3fbf1bda0837d1 (patch) | |
| tree | 3cd74971b08b0c40c326c4651bc802d685dab162 /vulkan.py | |
| parent | 66ad6bfd98b50bf760431c541c181427f94ecf0a (diff) | |
| download | usermoji-a74c5b2357946c7f48dd04852c3fbf1bda0837d1.tar.xz | |
update vulkan.h for multi-pass command buffers (V131, #14075)
Minimal changes to keep everything building and functioning.
TODO: Need to port draw_state to use new VkAttachmentView structure.
Diffstat (limited to 'vulkan.py')
| -rwxr-xr-x | vulkan.py | 24 |
1 files changed, 11 insertions, 13 deletions
@@ -194,8 +194,7 @@ core = Extension( "VkBufferView", "VkImage", "VkImageView", - "VkColorAttachmentView", - "VkDepthStencilView", + "VkAttachmentView", "VkShader", "VkPipeline", "VkPipelineCache", @@ -493,15 +492,10 @@ core = Extension( Param("const VkImageViewCreateInfo*", "pCreateInfo"), Param("VkImageView*", "pView")]), - Proto("VkResult", "CreateColorAttachmentView", + Proto("VkResult", "CreateAttachmentView", [Param("VkDevice", "device"), - Param("const VkColorAttachmentViewCreateInfo*", "pCreateInfo"), - Param("VkColorAttachmentView*", "pView")]), - - Proto("VkResult", "CreateDepthStencilView", - [Param("VkDevice", "device"), - Param("const VkDepthStencilViewCreateInfo*", "pCreateInfo"), - Param("VkDepthStencilView*", "pView")]), + Param("const VkAttachmentViewCreateInfo*", "pCreateInfo"), + Param("VkAttachmentView*", "pView")]), Proto("VkResult", "CreateShaderModule", [Param("VkDevice", "device"), @@ -873,7 +867,12 @@ core = Extension( Proto("void", "CmdBeginRenderPass", [Param("VkCmdBuffer", "cmdBuffer"), - Param("const VkRenderPassBegin*", "pRenderPassBegin")]), + Param("const VkRenderPassBeginInfo*", "pRenderPassBegin"), + Param("VkRenderPassContents", "contents")]), + + Proto("void", "CmdNextSubpass", + [Param("VkCmdBuffer", "cmdBuffer"), + Param("VkRenderPassContents", "contents")]), Proto("void", "CmdEndRenderPass", [Param("VkCmdBuffer", "cmdBuffer")]), @@ -942,8 +941,7 @@ object_list = [ "VkBufferView", "VkImage", "VkImageView", - "VkColorAttachmentView", - "VkDepthStencilView", + "VkAttachmentView", "VkShader", "VkPipeline", "VkPipelineCache", |
