VkPhysicalDeviceInheritedViewportScissorFeaturesNV
The VkPhysicalDeviceInheritedViewportScissorFeaturesNV structure is
defined as:
typedef struct VkPhysicalDeviceInheritedViewportScissorFeaturesNV {
VkStructureType sType;
void* pNext;
VkBool32 inheritedViewportScissor2D;
} VkPhysicalDeviceInheritedViewportScissorFeaturesNV;
This structure describes the following feature:
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.-
inheritedViewportScissor2Dindicates whether secondary command buffers can inherit most of the dynamic state affected byVK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT,VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT,VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT,VK_DYNAMIC_STATE_DISCARD_RECTANGLE_ENABLE_EXT,VK_DYNAMIC_STATE_DISCARD_RECTANGLE_MODE_EXT,VK_DYNAMIC_STATE_VIEWPORTorVK_DYNAMIC_STATE_SCISSOR, from a primary command buffer.
If the VkPhysicalDeviceInheritedViewportScissorFeaturesNV 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 VkPhysicalDeviceInheritedViewportScissorFeaturesNV, 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-VkPhysicalDeviceInheritedViewportScissorFeaturesNV-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV