diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-15 16:51:05 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-23 17:31:13 -0600 |
| commit | 21eb93d89a7ac0cd281d7bb3ca277c7fc7163380 (patch) | |
| tree | ed2b12c9c8e9ba82ce9360cb1c15be6b2083d5a6 /vulkan.py | |
| parent | 0db2c910ea48122e229ea45ad3301bf9a70a5331 (diff) | |
| download | usermoji-21eb93d89a7ac0cd281d7bb3ca277c7fc7163380.tar.xz | |
bug-14291: combine color and depth/stencil clears
Diffstat (limited to 'vulkan.py')
| -rwxr-xr-x | vulkan.py | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -818,19 +818,10 @@ core = Extension( Param("uint32_t", "rangeCount"), Param("const VkImageSubresourceRange*", "pRanges")]), - Proto("void", "CmdClearColorAttachment", + Proto("void", "CmdClearAttachments", [Param("VkCmdBuffer", "cmdBuffer"), - Param("uint32_t", "colorAttachment"), - Param("VkImageLayout", "imageLayout"), - Param("const VkClearColorValue*", "pColor"), - Param("uint32_t", "rectCount"), - Param("const VkRect3D*", "pRects")]), - - Proto("void", "CmdClearDepthStencilAttachment", - [Param("VkCmdBuffer", "cmdBuffer"), - Param("VkImageAspectFlags", "imageAspectMask"), - Param("VkImageLayout", "imageLayout"), - Param("const VkClearDepthStencilValue*", "pDepthStencil"), + Param("uint32_t", "attachmentCount"), + Param("const VkClearAttachment*", "pAttachments"), Param("uint32_t", "rectCount"), Param("const VkRect3D*", "pRects")]), |
