Structures
VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
Structure describing what extended dynamic state can be used
The VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
structure is
defined as:
typedef struct VkPhysicalDeviceExtendedDynamicStateFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 extendedDynamicState;
} VkPhysicalDeviceExtendedDynamicStateFeaturesEXT;
This structure describes the following feature:
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.-
extendedDynamicState
indicates that the implementation supports the following dynamic states:VK_DYNAMIC_STATE_CULL_MODE
VK_DYNAMIC_STATE_FRONT_FACE
VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY
VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT
VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT
VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE
VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE
VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE
VK_DYNAMIC_STATE_DEPTH_COMPARE_OP
VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE
VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE
VK_DYNAMIC_STATE_STENCIL_OP
If the VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
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 VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
, 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.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceExtendedDynamicStateFeaturesEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT