public final class EXTConservativeRasterization
extends java.lang.Object
When overestimation is enabled, if any part of the primitive, including its edges, covers any part of the rectangular pixel area, including its sides, then a fragment is generated with all coverage samples turned on. This extension allows for some variation in implementations by accounting for differences in overestimation, where the generating primitive size is increased at each of its edges by some sub-pixel amount to further increase conservative pixel coverage. Implementations can allow the application to specify an extra overestimation beyond the base overestimation the implementation already does. It also allows implementations to either cull degenerate primitives or rasterize them.
When underestimation is enabled, fragments are only generated if the rectangular pixel area is fully covered by the generating primitive. If supported by the implementation, when a pixel rectangle is fully covered the fragment shader input variable builtin called FullyCoveredEXT is set to true. The shader variable works in either overestimation or underestimation mode.
Implementations can process degenerate triangles and lines by either discarding them or generating conservative fragments for them. Degenerate triangles are those that end up with zero area after the rasterizer quantizes them to the fixed-point pixel grid. Degenerate lines are those with zero length after quantization.
VK_EXT_conservative_rasterizationVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
static int |
VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
VkConservativeRasterizationModeEXT - Specify the conservative rasterization mode
|
static int |
VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT
VkConservativeRasterizationModeEXT - Specify the conservative rasterization mode
|
static int |
VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT
VkConservativeRasterizationModeEXT - Specify the conservative rasterization mode
|
static java.lang.String |
VK_EXT_CONSERVATIVE_RASTERIZATION_EXTENSION_NAME
The extension name.
|
static int |
VK_EXT_CONSERVATIVE_RASTERIZATION_SPEC_VERSION
The extension specification version.
|
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT
Extends
VkStructureType. |
public static final int VK_EXT_CONSERVATIVE_RASTERIZATION_SPEC_VERSION
public static final java.lang.String VK_EXT_CONSERVATIVE_RASTERIZATION_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT
VkStructureType.
public static final int VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT specifies that conservative rasterization is disabled and rasterization proceeds as normal.CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT specifies that conservative rasterization is enabled in overestimation mode.CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT specifies that conservative rasterization is enabled in underestimation mode.public static final int VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT
CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT specifies that conservative rasterization is disabled and rasterization proceeds as normal.CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT specifies that conservative rasterization is enabled in overestimation mode.CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT specifies that conservative rasterization is enabled in underestimation mode.public static final int VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT
CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT specifies that conservative rasterization is disabled and rasterization proceeds as normal.CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT specifies that conservative rasterization is enabled in overestimation mode.CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT specifies that conservative rasterization is enabled in underestimation mode.Copyright LWJGL. All Rights Reserved. License terms.