VK_KHR_depth_clamp_zero_one

Other Extension Metadata

Last Modified Date

2024-09-10

Contributors
  • Graeme Leese, Broadcom

Description

This extension is based on the VK_EXT_depth_clamp_zero_one extension. 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

New Enum Constants

  • VK_KHR_DEPTH_CLAMP_ZERO_ONE_EXTENSION_NAME
  • VK_KHR_DEPTH_CLAMP_ZERO_ONE_SPEC_VERSION
  • Extending VkStructureType:
    • VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR

Version History

  • Revision 1, 2024-09-10 (Graeme Leese)
    • Internal revisions