Package org.lwjgl.vulkan
Class AMDRasterizationOrder
java.lang.Object
org.lwjgl.vulkan.AMDRasterizationOrder
This extension introduces the possibility for the application to control the order of primitive rasterization. In unextended Vulkan, the following stages are guaranteed to execute in API order:
- depth bounds test
- stencil test, stencil op, and stencil write
- depth test and depth write
- occlusion queries
- blending, logic op, and color write
This extension enables applications to opt into a relaxed, implementation defined primitive rasterization order that may allow better parallel processing of primitives and thus enabling higher primitive throughput. It is applicable in cases where the primitive rasterization order is known to not affect the output of the rendering or any differences caused by a different rasterization order are not a concern from the point of view of the application’s purpose.
A few examples of cases when using the relaxed primitive rasterization order would not have an effect on the final rendering:
- If the primitives rendered are known to not overlap in framebuffer space.
- If depth testing is used with a comparison operator of
COMPARE_OP_LESS
,COMPARE_OP_LESS_OR_EQUAL
,COMPARE_OP_GREATER
, orCOMPARE_OP_GREATER_OR_EQUAL
, and the primitives rendered are known to not overlap in clip space. - If depth testing is not used and blending is enabled for all attachments with a commutative blend operator.
Examples
None
VK_AMD_rasterization_order
- Name String
VK_AMD_rasterization_order
- Extension Type
- Device extension
- Registered Extension Number
- 19
- Revision
- 1
- Contact
- Daniel Rakos drakos-amd
Other Extension Metadata
- Last Modified Date
- 2016-04-25
- IP Status
- No known IP claims.
- Contributors
- Matthaeus G. Chajdas, AMD
- Jaakko Konttinen, AMD
- Daniel Rakos, AMD
- Graham Sellers, AMD
- Dominik Witczak, AMD
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The extension name.static final int
The extension specification version.static final int
VkRasterizationOrderAMD - Specify rasterization order for a graphics pipelinestatic final int
VkRasterizationOrderAMD - Specify rasterization order for a graphics pipelinestatic final int
ExtendsVkStructureType
. -
Method Summary
-
Field Details
-
VK_AMD_RASTERIZATION_ORDER_SPEC_VERSION
public static final int VK_AMD_RASTERIZATION_ORDER_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_AMD_RASTERIZATION_ORDER_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD
public static final int VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMDExtendsVkStructureType
.- See Also:
-
VK_RASTERIZATION_ORDER_STRICT_AMD
public static final int VK_RASTERIZATION_ORDER_STRICT_AMDVkRasterizationOrderAMD - Specify rasterization order for a graphics pipelineDescription
RASTERIZATION_ORDER_STRICT_AMD
specifies that operations for each primitive in a subpass must occur in primitive order.RASTERIZATION_ORDER_RELAXED_AMD
specifies that operations for each primitive in a subpass may not occur in primitive order.
See Also
- See Also:
-
VK_RASTERIZATION_ORDER_RELAXED_AMD
public static final int VK_RASTERIZATION_ORDER_RELAXED_AMDVkRasterizationOrderAMD - Specify rasterization order for a graphics pipelineDescription
RASTERIZATION_ORDER_STRICT_AMD
specifies that operations for each primitive in a subpass must occur in primitive order.RASTERIZATION_ORDER_RELAXED_AMD
specifies that operations for each primitive in a subpass may not occur in primitive order.
See Also
- See Also:
-