VkPhysicalDeviceProvokingVertexFeaturesEXT
The VkPhysicalDeviceProvokingVertexFeaturesEXT structure is defined
as:
typedef struct VkPhysicalDeviceProvokingVertexFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 provokingVertexLast;
VkBool32 transformFeedbackPreservesProvokingVertex;
} VkPhysicalDeviceProvokingVertexFeaturesEXT;
This structure describes the following features:
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_EXT
provoking 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 the VK_EXT_transform_feedback extension 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.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceProvokingVertexFeaturesEXT, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
When VkPhysicalDeviceProvokingVertexFeaturesEXT is in the pNext
chain of VkDeviceCreateInfo but the transformFeedback feature is not enabled, the value of
transformFeedbackPreservesProvokingVertex is ignored.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceProvokingVertexFeaturesEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT