VK_EXT_depth_clamp_zero_one(3)

# VK_EXT_depth_clamp_zero_one(3) Manual Page

## Name

VK_EXT_depth_clamp_zero_one - device extension

Loading… please wait.

## Registered Extension Number

422

## Revision

1

## Extension and Version Dependencies

VK_KHR_get_physical_device_properties2

## Contact

- Graeme Leese gnl21

## Other Extension Metadata

Last Modified Date

  2021-07-29

Contributors

  - Graeme Leese, Broadcom

## Description

This extension gives defined behavior to fragment depth values which end up outside the conventional [0, 1] range. It can be used to ensure portability in edge cases of features like depthBias. The particular behavior is chosen to match OpenGL to aid porting or emulation.

## New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceDepthClampZeroOneFeaturesEXT

## New Enum Constants

- `VK_EXT_DEPTH_CLAMP_ZERO_ONE_EXTENSION_NAME`

- `VK_EXT_DEPTH_CLAMP_ZERO_ONE_SPEC_VERSION`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_EXT`

## Version History

- Revision 1, 2021-07-29 (Graeme Leese)

  - Internal revisions

## See Also

VkPhysicalDeviceDepthClampZeroOneFeaturesEXT

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