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 is NULL 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. VkPhysicalDeviceExtendedDynamicStateFeaturesEXT can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

VUID-VkPhysicalDeviceExtendedDynamicStateFeaturesEXT-sType-sType

sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT