{-# language CPP #-}
-- | = 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
--
-- [__Ratification Status__]
--     Not ratified
--
-- [__Extension and Version Dependencies__; __Contact__]
--
--     -   Piers Daniell
--         <https://github.com/KhronosGroup/Vulkan-Docs/issues/new?body=[VK_NV_sample_mask_override_coverage] @pdaniell-nv%0A*Here describe the issue or question you have about the VK_NV_sample_mask_override_coverage extension* >
--
-- == Other Extension Metadata
--
-- [__Last Modified Date__]
--     2016-12-08
--
-- [__IP Status__]
--     No known IP claims.
--
-- [__Interactions and External Dependencies__]
--
--     -   This extension requires
--         <https://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/NV/SPV_NV_sample_mask_override_coverage.html SPV_NV_sample_mask_override_coverage>
--
--     -   This extension provides API support for
--         <https://registry.khronos.org/OpenGL/extensions/NV/NV_sample_mask_override_coverage.txt 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
-- 'Vulkan.Core10.FundamentalTypes.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
--
-- -   'NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME'
--
-- -   'NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION'
--
-- == New Variable Decoration
--
-- -   <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#interfaces-builtin-variables-samplemask OverrideCoverageNV in SampleMask>
--
-- == New SPIR-V Capabilities
--
-- -   <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#spirvenv-capabilities-table-SampleMaskOverrideCoverageNV SampleMaskOverrideCoverageNV>
--
-- == 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
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#VK_NV_sample_mask_override_coverage Vulkan Specification>
--
-- This page is a generated document. Fixes and changes should be made to
-- the generator scripts, not directly.
module Vulkan.Extensions.VK_NV_sample_mask_override_coverage  ( NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION
                                                              , pattern NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION
                                                              , NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME
                                                              , pattern NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME
                                                              ) where

import Data.String (IsString)

type NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION = 1

-- No documentation found for TopLevel "VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION"
pattern NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION :: forall a . Integral a => a
pattern $bNV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION :: forall a. Integral a => a
$mNV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION :: forall {r} {a}.
Integral a =>
a -> ((# #) -> r) -> ((# #) -> r) -> r
NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION = 1


type NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME = "VK_NV_sample_mask_override_coverage"

-- No documentation found for TopLevel "VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME"
pattern NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME :: forall a . (Eq a, IsString a) => a
pattern $bNV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
$mNV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME :: forall {r} {a}.
(Eq a, IsString a) =>
a -> ((# #) -> r) -> ((# #) -> r) -> r
NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME = "VK_NV_sample_mask_override_coverage"