summaryrefslogtreecommitdiff
path: root/chapters/commonvalidity/draw_vertex_binding.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'chapters/commonvalidity/draw_vertex_binding.adoc')
-rw-r--r--chapters/commonvalidity/draw_vertex_binding.adoc44
1 files changed, 15 insertions, 29 deletions
diff --git a/chapters/commonvalidity/draw_vertex_binding.adoc b/chapters/commonvalidity/draw_vertex_binding.adoc
index 2305a918..ecaf61f8 100644
--- a/chapters/commonvalidity/draw_vertex_binding.adoc
+++ b/chapters/commonvalidity/draw_vertex_binding.adoc
@@ -31,26 +31,17 @@ ifdef::VK_EXT_vertex_input_dynamic_state[]
endif::VK_EXT_vertex_input_dynamic_state[]
then flink:vkCmdSetPrimitiveTopology must: have been called in the
current command buffer prior to this drawing command
-ifndef::VK_EXT_extended_dynamic_state3[]
- * [[VUID-{refpage}-primitiveTopology-03420]]
- If the bound graphics pipeline state was created with the
- ename:VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY dynamic state enabled then the
- pname:primitiveTopology parameter of fname:vkCmdSetPrimitiveTopology
- must: be of the same <<drawing-primitive-topology-class, topology
- class>> as the pipeline
- slink:VkPipelineInputAssemblyStateCreateInfo::pname:topology state
-endif::VK_EXT_extended_dynamic_state3[]
-ifdef::VK_EXT_extended_dynamic_state3[]
* [[VUID-{refpage}-dynamicPrimitiveTopologyUnrestricted-07500]]
If the bound graphics pipeline state was created with the
- ename:VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY dynamic state enabled and the
- <<limits-dynamicPrimitiveTopologyUnrestricted,
- pname:dynamicPrimitiveTopologyUnrestricted>> is ename:VK_FALSE, then the
- pname:primitiveTopology parameter of fname:vkCmdSetPrimitiveTopology
- must: be of the same <<drawing-primitive-topology-class, topology
- class>> as the pipeline
- slink:VkPipelineInputAssemblyStateCreateInfo::pname:topology state
+ ename:VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY dynamic state enabled
+ifdef::VK_EXT_extended_dynamic_state3[]
+ and the <<limits-dynamicPrimitiveTopologyUnrestricted,
+ pname:dynamicPrimitiveTopologyUnrestricted>> is ename:VK_FALSE,
endif::VK_EXT_extended_dynamic_state3[]
+ then the pname:primitiveTopology parameter of
+ fname:vkCmdSetPrimitiveTopology must: be of the same
+ <<drawing-primitive-topology-class, topology class>> as the pipeline
+ slink:VkPipelineInputAssemblyStateCreateInfo::pname:topology state
ifdef::VK_EXT_vertex_input_dynamic_state[]
* [[VUID-{refpage}-None-04912]]
If the bound graphics pipeline was created with both the
@@ -58,24 +49,19 @@ ifdef::VK_EXT_vertex_input_dynamic_state[]
ename:VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT dynamic states
enabled, then flink:vkCmdSetVertexInputEXT must: have been called in the
current command buffer prior to this draw command
+endif::VK_EXT_vertex_input_dynamic_state[]
* [[VUID-{refpage}-pStrides-04913]]
If the bound graphics pipeline was created with the
ename:VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT dynamic state
- enabled, but not the ename:VK_DYNAMIC_STATE_VERTEX_INPUT_EXT dynamic
- state enabled, then flink:vkCmdBindVertexBuffers2EXT must: have been
- called in the current command buffer prior to this draw command, and the
- pname:pStrides parameter of flink:vkCmdBindVertexBuffers2EXT must: not
- be `NULL`
+ enabled,
+ifdef::VK_EXT_vertex_input_dynamic_state[]
+ but without the ename:VK_DYNAMIC_STATE_VERTEX_INPUT_EXT dynamic state
+ enabled,
endif::VK_EXT_vertex_input_dynamic_state[]
-ifndef::VK_EXT_vertex_input_dynamic_state[]
- * [[VUID-{refpage}-pStrides-04884]]
- If the bound graphics pipeline was created with the
- ename:VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT dynamic state
- enabled, then flink:vkCmdBindVertexBuffers2EXT must: have been called in
- the current command buffer prior to this drawing command, and the
+ then flink:vkCmdBindVertexBuffers2EXT must: have been called in the
+ current command buffer prior to this draw command, and the
pname:pStrides parameter of flink:vkCmdBindVertexBuffers2EXT must: not
be `NULL`
-endif::VK_EXT_vertex_input_dynamic_state[]
endif::VK_VERSION_1_3,VK_EXT_extended_dynamic_state[]
ifdef::VK_EXT_vertex_input_dynamic_state,VK_EXT_shader_object[]
* [[VUID-{refpage}-None-04914]]