Package org.lwjgl.vulkan
Class EXTPostDepthCoverage
java.lang.Object
org.lwjgl.vulkan.EXTPostDepthCoverage
This extension adds support for the following SPIR-V extension in Vulkan:
SPV_KHR_post_depth_coverage
which allows the fragment shader to control whether values in the SampleMask built-in input variable reflect the coverage after early depth and stencil tests are applied.
This extension adds a new PostDepthCoverage execution mode under the SampleMaskPostDepthCoverage capability. When this mode is specified along with EarlyFragmentTests, the value of an input variable decorated with the SampleMask built-in reflects the coverage after the early fragment tests are applied. Otherwise, it reflects the coverage before the depth and stencil tests.
When using GLSL source-based shading languages, the post_depth_coverage layout qualifier from GL_ARB_post_depth_coverage or GL_EXT_post_depth_coverage maps to the PostDepthCoverage execution mode.
- Name String
VK_EXT_post_depth_coverage- Extension Type
- Device extension
- Registered Extension Number
- 156
- Revision
- 1
- SPIR-V Dependencies
- Contact
- Daniel Koch dgkoch
Other Extension Metadata
- Last Modified Date
- 2017-07-17
- Interactions and External Dependencies
- This extension provides API support for
GL_ARB_post_depth_coverageandGL_EXT_post_depth_coverage
- This extension provides API support for
- Contributors
- Jeff Bolz, NVIDIA
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version. -
Method Summary
-
Field Details
-
VK_EXT_POST_DEPTH_COVERAGE_SPEC_VERSION
public static final int VK_EXT_POST_DEPTH_COVERAGE_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME
The extension name.- See Also:
-