Structures
VkPhysicalDeviceNestedCommandBufferFeaturesEXT
Structure describing whether nested command buffers are supported by the implementation
The VkPhysicalDeviceNestedCommandBufferFeaturesEXT
structure is
defined as:
typedef struct VkPhysicalDeviceNestedCommandBufferFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 nestedCommandBuffer;
VkBool32 nestedCommandBufferRendering;
VkBool32 nestedCommandBufferSimultaneousUse;
} VkPhysicalDeviceNestedCommandBufferFeaturesEXT;
This structure describes the following features:
-
nestedCommandBuffer
indicates the implementation supports nested command buffers, which allows Secondary Command Buffers to execute other Secondary Command Buffers. nestedCommandBufferRendering
indicates that it is valid to call vkCmdExecuteCommands inside a Secondary Command Buffer recorded withVK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
.nestedCommandBufferSimultaneousUse
indicates that the implementation supports nested command buffers with command buffers that are recorded withVK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT
.
If the VkPhysicalDeviceNestedCommandBufferFeaturesEXT
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.
VkPhysicalDeviceNestedCommandBufferFeaturesEXT
can also be used in the pNext
chain of
VkDeviceCreateInfo to selectively enable these features.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceNestedCommandBufferFeaturesEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_FEATURES_EXT