Structures
VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR
Structure describing fragment shader barycentric limits of an implementation
The VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR
structure
is defined as:
typedef struct VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR {
VkStructureType sType;
void* pNext;
VkBool32 triStripVertexOrderIndependentOfProvokingVertex;
} VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR;
- When the
provoking vertex mode is
VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT
, and the primitive order is odd in a triangle strip, the ordering of vertices is defined in last vertex table.triStripVertexOrderIndependentOfProvokingVertex
equal toVK_TRUE
indicates that the implementation ignores this and uses the vertex order defined byVK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT
instead.
If the VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR
structure is included in the pNext
chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR