C Specification
The VkPhysicalDeviceProvokingVertexFeaturesEXT structure is defined
as:
// Provided by VK_EXT_provoking_vertex
typedef struct VkPhysicalDeviceProvokingVertexFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 provokingVertexLast;
VkBool32 transformFeedbackPreservesProvokingVertex;
} VkPhysicalDeviceProvokingVertexFeaturesEXT;
Description
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
provokingVertexLastindicates whether the implementation supports theVK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXTprovoking vertex mode for flat shading. -
transformFeedbackPreservesProvokingVertexindicates that the order of vertices within each primitive written by transform feedback will preserve the provoking vertex. This does not apply to triangle fan primitives whentransformFeedbackPreservesTriangleFanProvokingVertexisVK_FALSE.transformFeedbackPreservesProvokingVertexmust beVK_FALSEwhen theVK_EXT_transform_feedbackextension is not supported.
If the VkPhysicalDeviceProvokingVertexFeaturesEXT structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
VkPhysicalDeviceProvokingVertexFeaturesEXT can also be used in the pNext chain of
VkDeviceCreateInfo to selectively enable these features.
When VkPhysicalDeviceProvokingVertexFeaturesEXT is in the pNext
chain of VkDeviceCreateInfo but the transformFeedback feature is not enabled, the value of
transformFeedbackPreservesProvokingVertex is ignored.
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.