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:
*
*
* - 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 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 {@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.
*
*
* - 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
*
* - Last Modified Date
* - 2017-07-17
* - Interactions and External Dependencies
*
* - This extension requires the SPV_KHR_post_depth_coverage SPIR-V extension.
* - This extension requires GL_ARB_post_depth_coverage or GL_EXT_post_depth_coverage for GLSL-based source languages.
*
* - 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() {}
}