SPV_KHR_post_depth_coveragewhich 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.
VK_EXT_post_depth_coverageSPV_KHR_post_depth_coverageGL_ARB_post_depth_coverage and GL_EXT_post_depth_coverage| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME
The extension name. |
| public static final int | VK_EXT_POST_DEPTH_COVERAGE_SPEC_VERSION
The extension specification version. |
| Access | Constructor and Description |
|---|---|
| private |
| VK_EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME The extension name. | |
| VK_EXT_POST_DEPTH_COVERAGE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_EXT_POST_DEPTH_COVERAGE_SPEC_VERSION The extension specification version. | |
| EXTPostDepthCoverage | back to summary |
|---|---|
| private EXTPostDepthCoverage() | |