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;
pub struct PhysicalDeviceFragmentShaderBarycentricPropertiesKHR {
s_type: vk::StructureType,
p_next: *mut c_void,
tri_strip_vertex_order_independent_of_provoking_vertex: vk::Bool32,
}
- 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.triStripVertexOrderIndependentOfProvokingVertexequal toVK_TRUEindicates that the implementation ignores this and uses the vertex order defined byVK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXTinstead.
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