Class EXTDepthClipControl

java.lang.Object
org.lwjgl.vulkan.EXTDepthClipControl

public final class EXTDepthClipControl extends Object
This extension allows the application to use the OpenGL depth range in NDC, i.e. with depth in range [-1, 1], as opposed to Vulkan’s default of [0, 1]. The purpose of this extension is to allow efficient layering of OpenGL over Vulkan, by avoiding emulation in the pre-rasterization shader stages. This emulation, which effectively duplicates gl_Position but with a different depth value, costs ALU and consumes shader output components that the implementation may not have to spare to meet OpenGL minimum requirements.
Name String
VK_EXT_depth_clip_control
Extension Type
Device extension
Registered Extension Number
356
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 or Version 1.1
Special Use
Contact
Other Extension Metadata
Last Modified Date
2021-11-09
Contributors
  • Spencer Fricke, Samsung Electronics
  • Shahbaz Youssefi, Google
  • Ralph Potter, Samsung Electronics