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

Vulkan.Extensions.VK_EXT_extended_dynamic_state

Description

Name

VK_EXT_extended_dynamic_state - device extension

VK_EXT_extended_dynamic_state

Name String
VK_EXT_extended_dynamic_state
Extension Type
Device extension
Registered Extension Number
268
Revision
1
Ratification Status
Not ratified
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 or Version 1.1
Deprecation State
Contact

Other Extension Metadata

Last Modified Date
2019-12-09
Interactions and External Dependencies
  • Promoted to Vulkan 1.3 Core
IP Status
No known IP claims.
Contributors
  • Dan Ginsburg, Valve Corporation
  • Graeme Leese, Broadcom
  • Hans-Kristian Arntzen, Valve Corporation
  • Jan-Harald Fredriksen, Arm Limited
  • Faith Ekstrand, Intel
  • Jeff Bolz, NVIDIA
  • Jesse Hall, Google
  • Philip Rebohle, Valve Corporation
  • Stuart Smith, Imagination Technologies
  • Tobias Hector, AMD

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

New Structures

New Enum Constants

Promotion to Vulkan 1.3

This extension has been partially promoted. All dynamic state enumerants and entry points in this extension are included in core Vulkan 1.3, with the EXT suffix omitted. The feature structure is not promoted. Extension interfaces that were promoted remain available as aliases of the core functionality.

Issues

1) Why are the values of pStrides in cmdBindVertexBuffers2 limited to be between 0 and the maximum extent of the binding, when this restriction is not present for the same static state?

Implementing these edge cases adds overhead to some implementations that would require significant cost when calling this function, and the intention is that this state should be more or less free to change.

VK_EXT_vertex_input_dynamic_state allows the stride to be changed freely when supported via cmdSetVertexInputEXT.

Version History

  • Revision 1, 2019-12-09 (Piers Daniell)

    • Internal revisions

See Also

PhysicalDeviceExtendedDynamicStateFeaturesEXT, cmdBindVertexBuffers2EXT, cmdSetCullModeEXT, cmdSetDepthBoundsTestEnableEXT, cmdSetDepthCompareOpEXT, cmdSetDepthTestEnableEXT, cmdSetDepthWriteEnableEXT, cmdSetFrontFaceEXT, cmdSetPrimitiveTopologyEXT, cmdSetScissorWithCountEXT, cmdSetStencilOpEXT, cmdSetStencilTestEnableEXT, cmdSetViewportWithCountEXT

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

cmdBindVertexBuffers2EXT :: MonadIO io => CommandBuffer -> ("firstBinding" ::: Word32) -> ("buffers" ::: Vector Buffer) -> ("offsets" ::: Vector DeviceSize) -> ("sizes" ::: Vector DeviceSize) -> ("strides" ::: Vector DeviceSize) -> io () Source #

cmdSetDepthTestEnableEXT :: MonadIO io => CommandBuffer -> ("depthTestEnable" ::: Bool) -> io () Source #

cmdSetDepthWriteEnableEXT :: MonadIO io => CommandBuffer -> ("depthWriteEnable" ::: Bool) -> io () Source #

cmdSetDepthCompareOpEXT :: MonadIO io => CommandBuffer -> ("depthCompareOp" ::: CompareOp) -> io () Source #

cmdSetDepthBoundsTestEnableEXT :: MonadIO io => CommandBuffer -> ("depthBoundsTestEnable" ::: Bool) -> io () Source #

cmdSetStencilTestEnableEXT :: MonadIO io => CommandBuffer -> ("stencilTestEnable" ::: Bool) -> io () Source #

cmdSetStencilOpEXT :: MonadIO io => CommandBuffer -> ("faceMask" ::: StencilFaceFlags) -> ("failOp" ::: StencilOp) -> ("passOp" ::: StencilOp) -> ("depthFailOp" ::: StencilOp) -> CompareOp -> io () Source #

data PhysicalDeviceExtendedDynamicStateFeaturesEXT Source #

VkPhysicalDeviceExtendedDynamicStateFeaturesEXT - Structure describing what extended dynamic state can be used

Members

This structure describes the following feature:

Description

If the PhysicalDeviceExtendedDynamicStateFeaturesEXT 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. PhysicalDeviceExtendedDynamicStateFeaturesEXT can also be used in the pNext chain of DeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

See Also

VK_EXT_extended_dynamic_state, Bool32, StructureType

Instances

Instances details
Storable PhysicalDeviceExtendedDynamicStateFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_extended_dynamic_state

Show PhysicalDeviceExtendedDynamicStateFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_extended_dynamic_state

Eq PhysicalDeviceExtendedDynamicStateFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_extended_dynamic_state

FromCStruct PhysicalDeviceExtendedDynamicStateFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_extended_dynamic_state

ToCStruct PhysicalDeviceExtendedDynamicStateFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_extended_dynamic_state

Zero PhysicalDeviceExtendedDynamicStateFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_extended_dynamic_state

type EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME = "VK_EXT_extended_dynamic_state" Source #