HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_EXT_depth_bias_control

Name

VK_EXT_depth_bias_control - device extension

VK_EXT_depth_bias_control

Name String

VK_EXT_depth_bias_control

Extension Type

Device extension

Registered Extension Number

284

Revision

1

Ratification Status

Ratified

Extension and Version Dependencies

VK_KHR_get_physical_device_properties2

or

Vulkan Version 1.1

Special Use
Contact
Extension Proposal

VK_EXT_depth_bias_control

Other Extension Metadata

Last Modified Date

2023-02-15

IP Status

No known IP claims.

Contributors
  • Joshua Ashton, VALVE

  • Hans-Kristian Arntzen, VALVE

  • Mike Blumenkrantz, VALVE

  • Georg Lehmann, VALVE

  • Piers Daniell, NVIDIA

  • Lionel Landwerlin, INTEL

  • Tobias Hector, AMD

  • Ricardo Garcia, IGALIA

  • Jan-Harald Fredriksen, ARM

  • Shahbaz Youssefi, GOOGLE

  • Tom Olson, ARM

Description

This extension adds a new structure, DepthBiasRepresentationInfoEXT, that can be added to a pNext chain of PipelineRasterizationStateCreateInfo and allows setting the scaling and representation of depth bias for a pipeline.

This state can also be set dynamically by using the new structure mentioned above in combination with the new cmdSetDepthBias2EXT command.

New Commands

New Structures

New Enums

New Enum Constants

Version History

  • Revision 1, 2022-09-22 (Joshua Ashton)

    • Initial draft.

See Also

No cross-references are available

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.

  • 6 types
  • 1 value
  • Packagevulkan-3.27
  • Exports12
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_EXT_depth_bias_control.hs
valuecmdSetDepthBias2EXT
  1. :: (Extendss DepthBiasInfoEXT a, PokeChain a, MonadIO io)
  2. => CommandBuffer

    commandBuffer is the command buffer into which the command will be recorded.

  3. -> DepthBiasInfoEXT a

    pDepthBiasInfo is a pointer to a DepthBiasInfoEXT structure specifying depth bias parameters.

  4. -> io ()
#

vkCmdSetDepthBias2EXT - Set depth bias factors and clamp dynamically for a command buffer

Description

This command is functionally identical to cmdSetDepthBias, but includes extensible sub-structures that include sType and pNext parameters, allowing them to be more easily extended.

Valid Usage (Implicit)

Host Synchronization

  • Host access to commandBuffer must be externally synchronized

  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Command Properties

'

Conditional Rendering

vkCmdSetDepthBias2EXT is not affected by conditional rendering

See Also

VK_EXT_depth_bias_control, CommandBuffer, DepthBiasInfoEXT

datadata DepthBiasInfoEXT (es :: [Type])
#

VkDepthBiasInfoEXT - Structure specifying depth bias parameters

Description

If pNext does not contain a DepthBiasRepresentationInfoEXT structure, then this command is equivalent to including a DepthBiasRepresentationInfoEXT with depthBiasExact set to FALSE and depthBiasRepresentation set to DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT.

Valid Usage

  • If the depthBiasClamp feature is not enabled, depthBiasClamp must be 0.0

Valid Usage (Implicit)

  • pNext must be NULL or a pointer to a valid instance of DepthBiasRepresentationInfoEXT

  • The sType value of each structure in the pNext chain must be unique

See Also

VK_EXT_depth_bias_control, StructureType, cmdSetDepthBias2EXT

Constructors

Instances5Extensible, Show, FromCStruct, ToCStruct, Zero

VkDepthBiasRepresentationInfoEXT - Structure specifying depth bias parameters

Valid Usage

Valid Usage (Implicit)

Structure Chaining

Extends the structures

See Also

VK_EXT_depth_bias_control, Bool32, DepthBiasRepresentationEXT, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero

VkPhysicalDeviceDepthBiasControlFeaturesEXT - Structure indicating support for depth bias scaling and representation control

Members

This structure describes the following feature:

Structure Chaining

Extends the structures

See Also

VK_EXT_depth_bias_control, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
newtypenewtype DepthBiasRepresentationEXT
#

VkDepthBiasRepresentationEXT - Specify the depth bias representation

Description

See Also

VK_EXT_depth_bias_control, DepthBiasRepresentationInfoEXT

Instances6Eq, Ord, Read, Show, Storable, Zero