bug-14291: combine color and depth/stencil clears
diff --git a/vulkan.py b/vulkan.py
index 5323a6a..962b17c 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -818,19 +818,10 @@
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")]),