mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-25 12:35:11 +00:00
* Update release number to 120. Github Issues: * Add slink:VkAccelerationStructureTypeNV explicitly to extension XML for `<<VK_NV_ray_tracing>>` (public issue 848). * Add missing valid usage statements for feature flags in slink:VkCommandBufferInheritanceInfo (public pull request 1017). Internal Issues: * Clarify behavior of non-premultiplied destination colors for `<<VK_EXT_blend_operation_advanced>>` prior to the definition of slink:VkBlendOverlapEXT (internal issue 1766). * Fix the confusing phrasing "`no other queue must: be (doing something)`" for flink:vkQueuePresentKHR, flink:vkQueueSubmit, and flink:vkQueueBindSparse (internal issue 1774). * Add `<<VK_EXT_validation_features>>` flag to enable best practices checks, which will soon be available in the validation layer (internal issue 1779). * Specify allowed characters for VUID tag name components in the style guide (internal issue 1788). * Update links to SPIR-V extension specifications, and parameterize their markup in case the URLs change in the future (internal issue 1797). * Fix an off-by-one error in the valid usage statement for slink:VkPipelineExecutableInfoKHR (internal merge request 3303). * Clean up markup indentation not matching the style guide (internal merge request 3314). * Minor script updates to allow refpage aliases, generate a dynamic TOC for refpages, generate Apache rewrite rules for aliases, open external links from refpages in a new window, and synchronize with the OpenCL scripts. This will shortly enable a paned navigation setup for refpages, similar to the OpenCL 2.2 refpages (internal merge request 3322). * Script updates to add tests to the checker, refactor and reformat code, generate better text for some valid usage statements, use more Pythonic idioms, and synchronize with the OpenXR scripts (internal merge request 3239). * Script updates and minor fixes in spec language to not raise checker errors for refpage markup of pages not existing in the API, such as VKAPI_NO_STDINT_H. Remove corresponding suppression of some check_spec_links.py tests from .gitlab-ci.yml and 'allchecks' target (internal merge request 3315).
74 lines
2.4 KiB
Plaintext
74 lines
2.4 KiB
Plaintext
include::meta/VK_NV_coverage_reduction_mode.txt[]
|
||
|
||
*Last Modified Date*::
|
||
2019-01-29
|
||
*Contributors*::
|
||
- Kedarnath Thangudu, NVIDIA
|
||
- Jeff Bolz, NVIDIA
|
||
|
||
When using a framebuffer with mixed samples, a per-fragment coverage
|
||
reduction operation is performed which generates a color sample mask from
|
||
the coverage mask.
|
||
This extension defines the following modes to control how this reduction is
|
||
performed.
|
||
|
||
* Merge: When there are more raster samples than color samples, there is
|
||
an implementation dependent association of each raster sample to a color
|
||
sample.
|
||
In the merge mode, 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.
|
||
This is the default mode.
|
||
|
||
* Truncate: When there are more raster samples (N) than color samples(M),
|
||
there is one to one association of the first M raster samples to the M
|
||
color samples and the coverage bits for the other raster samples are
|
||
ignored.
|
||
|
||
When the number of raster samples is equal to the color samples, there is a
|
||
one to one mapping between them in either of the above modes.
|
||
|
||
The new command
|
||
flink:vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV can
|
||
be used to query the various raster, color, depth/stencil sample count and
|
||
reduction mode combinations that are supported by the implementation.
|
||
This extension would allow an implementation to support the behavior of both
|
||
`VK_NV_framebuffer_mixed_samples` and `VK_AMD_mixed_attachment_samples`
|
||
extensions simultaneously.
|
||
|
||
|
||
=== New Object Types
|
||
|
||
None.
|
||
|
||
=== New Enum Constants
|
||
|
||
* Extending elink:VkStructureType
|
||
** ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV
|
||
** ename:VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV
|
||
** ename:VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV
|
||
|
||
=== New Enums
|
||
|
||
* elink:VkCoverageReductionModeNV
|
||
* tlink:VkPipelineCoverageReductionStateCreateFlagsNV
|
||
|
||
=== New Structures
|
||
|
||
* slink:VkPhysicalDeviceCoverageReductionModeFeaturesNV
|
||
* slink:VkPipelineCoverageReductionStateCreateInfoNV
|
||
* slink:VkFramebufferMixedSamplesCombinationNV
|
||
|
||
=== New Functions
|
||
|
||
* flink:vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
|
||
|
||
=== Issues
|
||
|
||
None.
|
||
|
||
=== Version History
|
||
|
||
* Revision 1, 2019-01-29 (Kedarnath Thangudu)
|
||
- Internal revisions
|