Package org.lwjgl.vulkan
Class NVSampleMaskOverrideCoverage
- java.lang.Object
-
- org.lwjgl.vulkan.NVSampleMaskOverrideCoverage
-
public final class NVSampleMaskOverrideCoverage extends java.lang.Object
This extension adds support for the following SPIR-V extension in Vulkan:SPV_NV_sample_mask_override_coverage
The extension provides access to the
OverrideCoverageNV
decoration under theSampleMaskOverrideCoverageNV
capability. Adding this decoration to a variable with theSampleMask
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 fromGL_NV_sample_mask_override_coverage
maps to theOverrideCoverageNV
decoration. To use theoverride_coverage
layout qualifier in GLSL theGL_NV_sample_mask_override_coverage
extension must be enabled. Behavior is described in theGL_NV_sample_mask_override_coverage
extension spec.- Name String
VK_NV_sample_mask_override_coverage
- Extension Type
- Device extension
- Registered Extension Number
- 95
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Contact
- Piers Daniell pdaniell-nv
- Last Modified Date
- 2016-12-08
- IP Status
- No known IP claims.
- Interactions and External Dependencies
- This extension requires the
SPV_NV_sample_mask_override_coverage
SPIR-V extension. - This extension requires the
GL_NV_sample_mask_override_coverage
extension for GLSL source languages.
- This extension requires the
- Contributors
- Daniel Koch, NVIDIA
- Jeff Bolz, NVIDIA
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME
The extension name.static int
VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION
The extension specification version.
-
-
-
Field Detail
-
VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION
public static final int VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME
public static final java.lang.String VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
-