vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_EXT_nested_command_buffer

Description

Name

VK_EXT_nested_command_buffer - device extension

VK_EXT_nested_command_buffer

Name String
VK_EXT_nested_command_buffer
Extension Type
Device extension
Registered Extension Number
452
Revision
1
Ratification Status
Not ratified
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2
Contact

Other Extension Metadata

Last Modified Date
2023-09-18
Contributors
  • Daniel Story, Nintendo
  • Peter Kohaut, NVIDIA
  • Shahbaz Youssefi, Google
  • Slawomir Grajewski, Intel
  • Stu Smith, AMD

Description

With core Vulkan it is not legal to call cmdExecuteCommands when recording a secondary command buffer. This extension relaxes that restriction, allowing secondary command buffers to execute other secondary command buffers.

New Structures

New Enum Constants

Issues

1) The Command Buffer Levels property for the Vulkan commands comes from the cmdbufferlevel attribute in vk.xml for the command, and it is currently not possible to modify this attribute based on whether an extension is enabled. For this extension we want the cmdbufferlevel attribute for vkCmdExecuteCommands to be primary,secondary when this extension is enabled and primary otherwise.

RESOLVED: The cmdbufferlevel attribute for cmdExecuteCommands has been changed to primary,secondary and a new VUID added to prohibit recording this command in a secondary command buffer unless this extension is enabled.

Version History

  • Revision 1, 2023-09-18 (Piers Daniell)

    • Internal revisions

See Also

PhysicalDeviceNestedCommandBufferFeaturesEXT, PhysicalDeviceNestedCommandBufferPropertiesEXT

Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

Synopsis

Documentation

data PhysicalDeviceNestedCommandBufferFeaturesEXT Source #

VkPhysicalDeviceNestedCommandBufferFeaturesEXT - Structure describing whether nested command buffers are supported by the implementation

Members

This structure describes the following features:

Description

If the PhysicalDeviceNestedCommandBufferFeaturesEXT structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. PhysicalDeviceNestedCommandBufferFeaturesEXT can also be used in the pNext chain of DeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

See Also

VK_EXT_nested_command_buffer, Bool32, StructureType

Constructors

PhysicalDeviceNestedCommandBufferFeaturesEXT 

Fields

Instances

Instances details
Storable PhysicalDeviceNestedCommandBufferFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

Show PhysicalDeviceNestedCommandBufferFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

Eq PhysicalDeviceNestedCommandBufferFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

FromCStruct PhysicalDeviceNestedCommandBufferFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

ToCStruct PhysicalDeviceNestedCommandBufferFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

Zero PhysicalDeviceNestedCommandBufferFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

data PhysicalDeviceNestedCommandBufferPropertiesEXT Source #

VkPhysicalDeviceNestedCommandBufferPropertiesEXT - Structure describing the nested command buffer limits of an implementation

Members

The members of the PhysicalDeviceNestedCommandBufferPropertiesEXT structure describe the following features:

Description

If the PhysicalDeviceNestedCommandBufferPropertiesEXT structure is included in the pNext chain of the PhysicalDeviceProperties2 structure passed to getPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

See Also

VK_EXT_nested_command_buffer, StructureType

Constructors

PhysicalDeviceNestedCommandBufferPropertiesEXT 

Fields

Instances

Instances details
Storable PhysicalDeviceNestedCommandBufferPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

Show PhysicalDeviceNestedCommandBufferPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

Eq PhysicalDeviceNestedCommandBufferPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

FromCStruct PhysicalDeviceNestedCommandBufferPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

ToCStruct PhysicalDeviceNestedCommandBufferPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

Zero PhysicalDeviceNestedCommandBufferPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_nested_command_buffer

type EXT_NESTED_COMMAND_BUFFER_EXTENSION_NAME = "VK_EXT_nested_command_buffer" Source #