Class AMDRasterizationOrder



  • public final class AMDRasterizationOrder
    extends java.lang.Object
    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:

    • Field Detail

      • VK_AMD_RASTERIZATION_ORDER_SPEC_VERSION

        public static final int VK_AMD_RASTERIZATION_ORDER_SPEC_VERSION
        The extension specification version.
        See Also:
        Constant Field Values
      • VK_AMD_RASTERIZATION_ORDER_EXTENSION_NAME

        public static final java.lang.String VK_AMD_RASTERIZATION_ORDER_EXTENSION_NAME
        The extension name.
        See Also:
        Constant Field Values
      • VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD

        public static final int VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD
        VkStructureType
        See Also:
        Constant Field Values
      • VK_RASTERIZATION_ORDER_STRICT_AMD

        public static final int VK_RASTERIZATION_ORDER_STRICT_AMD
        indicates that primitive rasterization must follow API order
        See Also:
        Constant Field Values
      • VK_RASTERIZATION_ORDER_RELAXED_AMD

        public static final int VK_RASTERIZATION_ORDER_RELAXED_AMD
        indicates that primitive rasterization may not follow API order
        See Also:
        Constant Field Values