Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Vulkan.Extensions.VK_NV_sample_mask_override_coverage
Description
Name
VK_NV_sample_mask_override_coverage - device extension
VK_NV_sample_mask_override_coverage
- Name String
VK_NV_sample_mask_override_coverage
- Extension Type
- Device extension
- Registered Extension Number
- 95
- Revision
- 1
- Extension and Version Dependencies; Contact
Other Extension Metadata
- Last Modified Date
- 2016-12-08
- IP Status
- No known IP claims.
- Interactions and External Dependencies
- This extension requires SPV_NV_sample_mask_override_coverage
- This extension provides API support for GL_NV_sample_mask_override_coverage
- Contributors
- Daniel Koch, NVIDIA
- Jeff Bolz, NVIDIA
Description
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 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.
New Enum Constants
New Variable Decoration
New SPIR-V Capabilities
Version History
Revision 1, 2016-12-08 (Piers Daniell)
- Internal revisions
See Also
No cross-references are available
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Documentation
pattern NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION :: forall a. Integral a => a Source #
type NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME = "VK_NV_sample_mask_override_coverage" Source #
pattern NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #