| include::meta/VK_NV_fragment_coverage_to_color.txt[] |
| |
| *Last Modified Date*:: |
| 2017-05-21 |
| *Contributors*:: |
| - Jeff Bolz, NVIDIA |
| |
| This extension allows the fragment coverage value, represented as an integer |
| bitmask, to be substituted for a color output being written to a |
| single-component color attachment with integer components (e.g. |
| ename:VK_FORMAT_R8_UINT). |
| The functionality provided by this extension is different from simply |
| writing the code:SampleMask fragment shader output, in that the coverage |
| value written to the framebuffer is taken after stencil test and depth test, |
| as well as after fragment operations such as alpha-to-coverage. |
| |
| This functionality may be useful for deferred rendering algorithms, where |
| the second pass needs to know which samples belong to which original |
| fragments. |
| |
| === New Object Types |
| |
| None. |
| |
| === New Enum Constants |
| |
| * Extending elink:VkStructureType: |
| |
| ** ename:VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV |
| |
| === New Enums |
| |
| * elink:VkPipelineCoverageToColorStateCreateFlagsNV |
| |
| === New Structures |
| |
| * slink:VkPipelineCoverageToColorStateCreateInfoNV |
| |
| === New Functions |
| |
| None. |
| |
| === Issues |
| |
| None. |
| |
| === Version History |
| |
| * Revision 1, 2017-05-21 (Jeff Bolz) |
| - Internal revisions |