Modulevulkan-3.27GHC2021
Vulkan.Extensions.VK_EXT_depth_clamp_zero_one
Name
VK_EXT_depth_clamp_zero_one - device extension
VK_EXT_depth_clamp_zero_one
- Name String
VK_EXT_depth_clamp_zero_one
- Extension Type
Device extension
- Registered Extension Number
422
- Revision
1
- Ratification Status
Ratified
- Extension and Version Dependencies
VK_KHR_get_physical_device_properties2
or
- Deprecation State
Promoted to VK_KHR_depth_clamp_zero_one extension
- Contact
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.
Promotion to VK_KHR_depth_clamp_zero_one
All functionality in this extension is included in
VK_KHR_depth_clamp_zero_one, with the suffix change to KHR. The
original type, enum, and command names are still available as aliases of
the core functionality.
New Structures
New Enum Constants
Extending StructureType:
Version History
Revision 1, 2021-07-29 (Graeme Leese)
Internal revisions
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.
- 4 types
- Packagevulkan-3.27
- Exports7
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceVK_EXT_depth_clamp_zero_one.hs
VkPhysicalDeviceDepthClampZeroOneFeaturesKHR - Structure describing feature to control zero to one depth clamping
Members
This structure describes the following feature:
Description
If the PhysicalDeviceDepthClampZeroOneFeaturesKHR 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. If the application wishes to use a
Device with any features described by
PhysicalDeviceDepthClampZeroOneFeaturesKHR, it must add an instance
of the structure, with the desired feature members set to
TRUE, to the pNext chain of
DeviceCreateInfo when creating the
Device.
Structure Chaining
See Also
VK_EXT_depth_clamp_zero_one, VK_KHR_depth_clamp_zero_one, Bool32, StructureType
Constructors
PhysicalDeviceDepthClampZeroOneFeaturesKHRdepthClampZeroOne :: BooldepthClampZeroOneindicates that the implementation supports clamping the depth to a range of0to1.
Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
Eq PhysicalDeviceDepthClampZeroOneFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_depth_clamp_zero_oneShow PhysicalDeviceDepthClampZeroOneFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_depth_clamp_zero_oneStorable PhysicalDeviceDepthClampZeroOneFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_depth_clamp_zero_oneFromCStruct PhysicalDeviceDepthClampZeroOneFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_depth_clamp_zero_oneToCStruct PhysicalDeviceDepthClampZeroOneFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_depth_clamp_zero_oneZero PhysicalDeviceDepthClampZeroOneFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_depth_clamp_zero_one