VK_EXT_extended_dynamic_state2(3)

# VK_EXT_extended_dynamic_state2(3) Manual Page

## Name

VK_EXT_extended_dynamic_state2 - device extension

Loading… please wait.

## Registered Extension Number

378

## Revision

1

## Extension and Version Dependencies

VK_KHR_get_physical_device_properties2
or
Version 1.1

## Deprecation state

- Promoted to Vulkan 1.3

## Contact

- Vikram Kushwaha vkushwaha-nv

## Other Extension Metadata

Last Modified Date

  2021-04-12

Interactions and External Dependencies

  - Promoted to Vulkan 1.3 Core

IP Status

  No known IP claims.

Contributors

  - Vikram Kushwaha, NVIDIA

  - Piers Daniell, NVIDIA

  - Jeff Bolz, NVIDIA

## Description

This extension adds some more dynamic state to support applications that need to reduce the number of pipeline state objects they compile and bind.

## New Commands

- vkCmdSetDepthBiasEnableEXT

- vkCmdSetLogicOpEXT

- vkCmdSetPatchControlPointsEXT

- vkCmdSetPrimitiveRestartEnableEXT

- vkCmdSetRasterizerDiscardEnableEXT

## New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceExtendedDynamicState2FeaturesEXT

## New Enum Constants

- `VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME`

- `VK_EXT_EXTENDED_DYNAMIC_STATE_2_SPEC_VERSION`

- Extending VkDynamicState:

  - `VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT`

  - `VK_DYNAMIC_STATE_LOGIC_OP_EXT`

  - `VK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXT`

  - `VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT`

  - `VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT`

## Promotion to Vulkan 1.3

This extension has been partially promoted. The dynamic state enumerants `VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT`, `VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT`, and `VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT`; and the corresponding entry points in this extension are included in core Vulkan 1.3, with the EXT suffix omitted. The enumerants and entry points for dynamic logic operation and patch control points are not promoted, nor is the feature structure. Extension interfaces that were promoted remain available as aliases of the core functionality.

## Version History

- Revision 1, 2021-04-12 (Vikram Kushwaha)

  - Internal revisions

## See Also

VkPhysicalDeviceExtendedDynamicState2FeaturesEXT, vkCmdSetDepthBiasEnableEXT, vkCmdSetLogicOpEXT, vkCmdSetPatchControlPointsEXT, vkCmdSetPrimitiveRestartEnableEXT, vkCmdSetRasterizerDiscardEnableEXT

## 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.

## Copyright

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0