SPV_NV_sample_mask_override_coverageThe extension provides access to the OverrideCoverageNV decoration under the SampleMaskOverrideCoverageNV capability. Adding this decoration to a variable with the SampleMask builtin decoration allows the shader to modify the coverage mask and affect which samples are used to process the fragment.
When using GLSL source-based shader languages, the override_coverage layout qualifier from GL_NV_sample_mask_override_coverage maps to the OverrideCoverageNV decoration. To use the override_coverage layout qualifier in GLSL the GL_NV_sample_mask_override_coverage extension must be enabled. Behavior is described in the GL_NV_sample_mask_override_coverage extension spec.
VK_NV_sample_mask_override_coverageSPV_NV_sample_mask_override_coverageGL_NV_sample_mask_override_coverage| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME
The extension name. |
| public static final int | VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION
The extension specification version. |
| Access | Constructor and Description |
|---|---|
| private |
| VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME The extension name. | |
| VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION The extension specification version. | |
| NVSampleMaskOverrideCoverage | back to summary |
|---|---|
| private NVSampleMaskOverrideCoverage() | |