C Specification
For a given primitive topology, the pipeline’s provoking vertex mode
determines which vertex is the provoking vertex.
To specify the provoking vertex mode, include a
VkPipelineRasterizationProvokingVertexStateCreateInfoEXT structure in
the VkPipelineRasterizationStateCreateInfo::pNext chain when
creating the pipeline.
The VkPipelineRasterizationProvokingVertexStateCreateInfoEXT structure
is defined as:
// Provided by VK_EXT_provoking_vertex
typedef struct VkPipelineRasterizationProvokingVertexStateCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkProvokingVertexModeEXT provokingVertexMode;
} VkPipelineRasterizationProvokingVertexStateCreateInfoEXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
provokingVertexModeis a VkProvokingVertexModeEXT value selecting the provoking vertex mode.
Description
If this struct is not provided when creating the pipeline, the pipeline will
use the VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT mode.
If the provokingVertexModePerPipeline limit is VK_FALSE, then all
pipelines bound within a render pass instance must have the same
provokingVertexMode.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.