VkCoverageReductionModeNV(3)

# VkCoverageReductionModeNV(3) Manual Page

## Name

VkCoverageReductionModeNV - Specify the coverage reduction mode

Loading... please wait.

## C Specification

Possible values of VkPipelineCoverageReductionStateCreateInfoNV::`coverageReductionMode`, specifying how the coverage mask is reduced to color sample mask, are:

    typedef enum VkCoverageReductionModeNV {
        VK_COVERAGE_REDUCTION_MODE_MERGE_NV = 0,
        VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV = 1,
    } VkCoverageReductionModeNV;

## Description

- `VK_COVERAGE_REDUCTION_MODE_MERGE_NV`: In this mode, there is an implementation-dependent association of each coverage sample to a color sample. The reduced color sample mask is computed such that the bit for each color sample is 1 if any of the associated bits in the fragment’s coverage is on, and 0 otherwise.

- `VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV`: In this mode, only the first M coverage samples are associated with the color samples such that sample index i maps to color sample index i, where M is the number of color samples.

## See Also

VkFramebufferMixedSamplesCombinationNV, VkPipelineCoverageReductionStateCreateInfoNV

## Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.