Bug 14406: Add support for front/back stencil reference dynamic state
diff --git a/vulkan.py b/vulkan.py
index e7206b4..086d277 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -212,7 +212,8 @@
"VkDynamicRasterLineState",
"VkDynamicRasterDepthBiasState",
"VkDynamicColorBlendState",
- "VkDynamicDepthStencilState",
+ "VkDynamicDepthState",
+ "VkDynamicStencilState",
"VkRenderPass",
"VkFramebuffer",
],
@@ -700,14 +701,24 @@
[Param("VkDevice", "device"),
Param("VkDynamicColorBlendState", "dynamicColorBlendState")]),
- Proto("VkResult", "CreateDynamicDepthStencilState",
+ Proto("VkResult", "CreateDynamicDepthState",
[Param("VkDevice", "device"),
- Param("const VkDynamicDepthStencilStateCreateInfo*", "pCreateInfo"),
- Param("VkDynamicDepthStencilState*", "pState")]),
+ Param("const VkDynamicDepthStateCreateInfo*", "pCreateInfo"),
+ Param("VkDynamicDepthState*", "pState")]),
- Proto("VkResult", "DestroyDynamicDepthStencilState",
+ Proto("VkResult", "DestroyDynamicDepthState",
[Param("VkDevice", "device"),
- Param("VkDynamicDepthStencilState", "dynamicDepthStencilState")]),
+ Param("VkDynamicDepthState", "dynamicDepthState")]),
+
+ Proto("VkResult", "CreateDynamicStencilState",
+ [Param("VkDevice", "device"),
+ Param("const VkDynamicStencilStateCreateInfo*", "pCreateInfoFront"),
+ Param("const VkDynamicStencilStateCreateInfo*", "pCreateInfoBack"),
+ Param("VkDynamicStencilState*", "pState")]),
+
+ Proto("VkResult", "DestroyDynamicStencilState",
+ [Param("VkDevice", "device"),
+ Param("VkDynamicStencilState", "dynamicStencilState")]),
Proto("VkResult", "CreateCommandPool",
[Param("VkDevice", "device"),
@@ -764,9 +775,13 @@
[Param("VkCmdBuffer", "cmdBuffer"),
Param("VkDynamicColorBlendState", "dynamicColorBlendState")]),
- Proto("void", "CmdBindDynamicDepthStencilState",
+ Proto("void", "CmdBindDynamicDepthState",
[Param("VkCmdBuffer", "cmdBuffer"),
- Param("VkDynamicDepthStencilState", "dynamicDepthStencilState")]),
+ Param("VkDynamicDepthState", "dynamicDepthState")]),
+
+ Proto("void", "CmdBindDynamicStencilState",
+ [Param("VkCmdBuffer", "cmdBuffer"),
+ Param("VkDynamicStencilState", "dynamicStencilState")]),
Proto("void", "CmdBindDescriptorSets",
[Param("VkCmdBuffer", "cmdBuffer"),
@@ -1157,7 +1172,8 @@
"VkDynamicRasterLineState",
"VkDynamicRasterDepthBiasState",
"VkDynamicColorBlendState",
- "VkDynamicDepthStencilState",
+ "VkDynamicDepthState",
+ "VkDynamicStencilState",
"VkRenderPass",
"VkFramebuffer",
"VkSwapChainWSI",