mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-20 01:58:06 +00:00
* Bump API patch number and header version number to 57 for this update. Github Issues: * Fix error in description of ename:VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK block size (public issue 342). * Update documentation of ename:VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT to explicitly mention both graphics and compute pipelines (public issue 525). Internal Issues: * Document that slink:VkPhysicalDeviceLimits::pname:framebufferColorSampleCounts does not cover integer formats (internal issue 550). * Add a note under slink:VkImageViewCreateInfo describing how values meant for one format can be sanitized when used via another format (internal issue 927). * Add valid usage statements to ftext:vkCmd* documenting that image subresources used as attachments must not be accessed as non-attachments in a render pass (internal issue 929). * Remove obsolete 'validextensionstructs' attribute from +vk.xml+, the XML schema, and the schema documentation (internal issue 946). New Extensions: * `VK_AMD_mixed_attachment_samples` * `VK_EXT_post_depth_coverage` * `VK_KHR_relaxed_block_layout` * `VK_NV_depth_range_unrestricted`
93 lines
2.3 KiB
Plaintext
93 lines
2.3 KiB
Plaintext
[[VK_EXT_post_depth_coverage]]
|
|
== VK_EXT_post_depth_coverage
|
|
*Name String*::
|
|
VK_EXT_post_depth_coverage
|
|
*Extension Type*::
|
|
Device extension
|
|
*Registered Extension Number*::
|
|
156
|
|
*Status*::
|
|
Complete
|
|
*Last Modified Data*::
|
|
2017-07-17
|
|
*Revision*::
|
|
1
|
|
*Dependencies*::
|
|
- This extension is written against version 1.0 of the Vulkan API.
|
|
- This extension requires Vulkan 1.0.
|
|
- This extension requires the
|
|
https://www.khronos.org/registry/spir-v/extensions/KHR/SPV_KHR_post_depth_coverage.html[+SPV_KHR_post_depth_coverage+]
|
|
SPIR-V extension.
|
|
- This extension requires
|
|
https://www.opengl.org/registry/specs/ARB/post_depth_coverage.txt[+GL_ARB_post_depth_coverage+]
|
|
or
|
|
https://www.opengl.org/registry/specs/EXT/post_depth_coverage.txt[+GL_EXT_post_depth_coverage+]
|
|
for GLSL-based source languages.
|
|
*Contributors*::
|
|
- Jeff Bolz, NVIDIA
|
|
*Contact*::
|
|
- Daniel Koch (dkoch 'at' nvidia.com)
|
|
|
|
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
|
|
code:SampleMask built-in input variable reflect the coverage after the
|
|
<<fragops-early,early per-fragment>> depth and stencil tests are applied.
|
|
|
|
This extension adds a new code:PostDepthCoverage execution mode under the
|
|
code:SampleMaskPostDepthCoverage capability.
|
|
When this mode is specified along with code:EarlyFragmentTests, the value of
|
|
an input variable decorated with the
|
|
<<interfaces-builtin-variables-samplemask, code:SampleMask>> built-in
|
|
reflects the coverage after the <<shaders-fragment-earlytest, early fragment
|
|
tests>> are applied.
|
|
Otherwise, it reflects the coverage before the depth and stencil tests.
|
|
|
|
When using GLSL source-based shading languages, the code:post_depth_coverage
|
|
layout qualifier from GL_ARB_post_depth_coverage or
|
|
GL_EXT_post_depth_coverage maps to the code:PostDepthCoverage execution
|
|
mode.
|
|
|
|
=== New Object Types
|
|
|
|
None.
|
|
|
|
=== New Enum Constants
|
|
|
|
None.
|
|
|
|
=== New Enums
|
|
|
|
None.
|
|
|
|
=== New Structures
|
|
|
|
None.
|
|
|
|
=== New Functions
|
|
|
|
None.
|
|
|
|
=== New Built-In Variables
|
|
|
|
None.
|
|
|
|
=== New Variable Decoration
|
|
|
|
None.
|
|
|
|
=== New SPIR-V Capabilities
|
|
|
|
* <<spirvenv-capabilities-table-postdepthcoverage,SampleMaskPostDepthCoverage>>
|
|
|
|
=== Issues
|
|
|
|
None yet.
|
|
|
|
=== Version History
|
|
|
|
* Revision 1, 2017-07-17 (Daniel Koch)
|
|
- Internal revisions
|