Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype VkPipelineCoverageToColorStateCreateFlagsNV = VkPipelineCoverageToColorStateCreateFlagsNV VkFlags
- pattern VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV :: VkStructureType
- pattern VK_NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION :: Integral a => a
- pattern VK_NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME :: (Eq a, IsString a) => a
- data VkPipelineCoverageToColorStateCreateInfoNV = VkPipelineCoverageToColorStateCreateInfoNV {}
Documentation
newtype VkPipelineCoverageToColorStateCreateFlagsNV Source #
VkPipelineCoverageToColorStateCreateFlagsNV - Reserved for future use
Description
VkPipelineCoverageToColorStateCreateFlagsNV
is a bitmask type for
setting a mask, but is currently reserved for future use.
See Also
Instances
pattern VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV :: VkStructureType Source #
pattern VK_NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION :: Integral a => a Source #
pattern VK_NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
data VkPipelineCoverageToColorStateCreateInfoNV Source #
VkPipelineCoverageToColorStateCreateInfoNV - Structure specifying whether fragment coverage replaces a color
Description
If coverageToColorEnable
is VK_TRUE
, the fragment coverage
information is treated as a bitmask with one bit for each sample (as in
the Sample
Mask
section), and this bitmask replaces the first component of the color
value corresponding to the fragment shader output location with
Location
equal to coverageToColorLocation
and Index
equal to zero.
If the color attachment format has fewer bits than the sample coverage,
the low bits of the sample coverage bitmask are taken without any
clamping. If the color attachment format has more bits than the sample
coverage, the high bits of the sample coverage bitmask are filled with
zeros.
If Sample Shading is in use, the coverage bitmask only has bits set for samples that correspond to the fragment shader invocation that shades those samples.
This pipeline stage occurs after sample counting and before blending,
and is always performed after fragment shading regardless of the setting
of EarlyFragmentTests
.
If coverageToColorEnable
is VK_FALSE
, these operations are skipped.
If this structure is not present, it is as if coverageToColorEnable
is
VK_FALSE
.
Valid Usage
- If
coverageToColorEnable
isVK_TRUE
, then the render pass subpass indicated byVkGraphicsPipelineCreateInfo
::renderPass
andVkGraphicsPipelineCreateInfo
::subpass
must have a color attachment at the location selected bycoverageToColorLocation
, with aVkFormat
ofVK_FORMAT_R8_UINT
,VK_FORMAT_R8_SINT
,VK_FORMAT_R16_UINT
,VK_FORMAT_R16_SINT
,VK_FORMAT_R32_UINT
, orVK_FORMAT_R32_SINT
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV
flags
must be0
See Also
VkBool32
, VkPipelineCoverageToColorStateCreateFlagsNV
,
VkStructureType
VkPipelineCoverageToColorStateCreateInfoNV | |
|