org.lwjgl.vulkan.EXTPostDepthCoverage Maven / Gradle / Ivy
Show all versions of lwjgl-vulkan Show documentation
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
/**
* This extension adds support for the following SPIR-V extension in Vulkan:
*
*
* - {@code 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 early 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 {@code SampleMask} built-in reflects the coverage after the 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.
*
* VK_EXT_post_depth_coverage
*
*
* - Name String
* - {@code VK_EXT_post_depth_coverage}
* - Extension Type
* - Device extension
* - Registered Extension Number
* - 156
* - Revision
* - 1
* - Extension and Version Dependencies
*
* - Requires Vulkan 1.0
*
* - Contact
*
* - Daniel Koch dgkoch
*
*
*
* Other Extension Metadata
*
*
* - Last Modified Date
* - 2017-07-17
* - Interactions and External Dependencies
*
* - This extension requires {@code SPV_KHR_post_depth_coverage}
* - This extension provides API support for {@code GL_ARB_post_depth_coverage} and {@code GL_EXT_post_depth_coverage}
*
* - Contributors
*
* - Jeff Bolz, NVIDIA
*
*
*/
public final class EXTPostDepthCoverage {
/** The extension specification version. */
public static final int VK_EXT_POST_DEPTH_COVERAGE_SPEC_VERSION = 1;
/** The extension name. */
public static final String VK_EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME = "VK_EXT_post_depth_coverage";
private EXTPostDepthCoverage() {}
}