{-# language CPP #-}
-- | = Name
--
-- VK_EXT_post_depth_coverage - device extension
--
-- == VK_EXT_post_depth_coverage
--
-- [__Name String__]
--     @VK_EXT_post_depth_coverage@
--
-- [__Extension Type__]
--     Device extension
--
-- [__Registered Extension Number__]
--     156
--
-- [__Revision__]
--     1
--
-- [__Ratification Status__]
--     Not ratified
--
-- [__Extension and Version Dependencies__; __Contact__]
--
--     -   Daniel Koch
--         <https://github.com/KhronosGroup/Vulkan-Docs/issues/new?body=[VK_EXT_post_depth_coverage] @dgkoch%0A*Here describe the issue or question you have about the VK_EXT_post_depth_coverage extension* >
--
-- == Other Extension Metadata
--
-- [__Last Modified Date__]
--     2017-07-17
--
-- [__Interactions and External Dependencies__]
--
--     -   This extension requires
--         <https://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/KHR/SPV_KHR_post_depth_coverage.html SPV_KHR_post_depth_coverage>
--
--     -   This extension provides API support for
--         <https://registry.khronos.org/OpenGL/extensions/ARB/ARB_post_depth_coverage.txt GL_ARB_post_depth_coverage>
--         and
--         <https://registry.khronos.org/OpenGL/extensions/EXT/EXT_post_depth_coverage.txt GL_EXT_post_depth_coverage>
--
-- [__Contributors__]
--
--     -   Jeff Bolz, NVIDIA
--
-- == Description
--
-- This extension adds support for the following SPIR-V extension in
-- Vulkan:
--
-- -   @SPV_KHR_post_depth_coverage@
--
-- which allows the fragment shader to control whether values in the
-- 'Vulkan.Core10.FundamentalTypes.SampleMask' built-in input variable
-- reflect the coverage after early
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-depth depth>
-- and
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-stencil 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
-- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#interfaces-builtin-variables-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.
--
-- == New Enum Constants
--
-- -   'EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME'
--
-- -   'EXT_POST_DEPTH_COVERAGE_SPEC_VERSION'
--
-- == New SPIR-V Capabilities
--
-- -   <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#spirvenv-capabilities-table-SampleMaskPostDepthCoverage SampleMaskPostDepthCoverage>
--
-- == Version History
--
-- -   Revision 1, 2017-07-17 (Daniel Koch)
--
--     -   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_EXT_post_depth_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_EXT_post_depth_coverage  ( EXT_POST_DEPTH_COVERAGE_SPEC_VERSION
                                                     , pattern EXT_POST_DEPTH_COVERAGE_SPEC_VERSION
                                                     , EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME
                                                     , pattern EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME
                                                     ) where

import Data.String (IsString)

type EXT_POST_DEPTH_COVERAGE_SPEC_VERSION = 1

-- No documentation found for TopLevel "VK_EXT_POST_DEPTH_COVERAGE_SPEC_VERSION"
pattern EXT_POST_DEPTH_COVERAGE_SPEC_VERSION :: forall a . Integral a => a
pattern $bEXT_POST_DEPTH_COVERAGE_SPEC_VERSION :: forall a. Integral a => a
$mEXT_POST_DEPTH_COVERAGE_SPEC_VERSION :: forall {r} {a}.
Integral a =>
a -> ((# #) -> r) -> ((# #) -> r) -> r
EXT_POST_DEPTH_COVERAGE_SPEC_VERSION = 1


type EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME = "VK_EXT_post_depth_coverage"

-- No documentation found for TopLevel "VK_EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME"
pattern EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME :: forall a . (Eq a, IsString a) => a
pattern $bEXT_POST_DEPTH_COVERAGE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
$mEXT_POST_DEPTH_COVERAGE_EXTENSION_NAME :: forall {r} {a}.
(Eq a, IsString a) =>
a -> ((# #) -> r) -> ((# #) -> r) -> r
EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME = "VK_EXT_post_depth_coverage"