Class EXTScalarBlockLayout


  • public final class EXTScalarBlockLayout
    extends java.lang.Object
    This extension enables C-like structure layout for SPIR-V blocks. It modifies the alignment rules for uniform buffers, storage buffers and push constants, allowing non-scalar types to be aligned solely based on the size of their components, without additional requirements.
    Promotion to Vulkan 1.2

    Functionality in this extension is included in core Vulkan 1.2, with the EXT suffix omitted. However, if Vulkan 1.2 is supported and this extension is not, the scalarBlockLayout capability is optional. The original type, enum and command names are still available as aliases of the core functionality.

    VK_EXT_scalar_block_layout
    Name String
    VK_EXT_scalar_block_layout
    Extension Type
    Device extension
    Registered Extension Number
    222
    Revision
    1
    Extension and Version Dependencies
    Deprecation state
    Contact
    Other Extension Metadata
    Last Modified Date
    2018-11-14
    Interactions and External Dependencies
    • Promoted to Vulkan 1.2 Core
    Contributors
    • Jeff Bolz
    • Jan-Harald Fredriksen
    • Graeme Leese
    • Jason Ekstrand
    • John Kessenich
    • Field Detail

      • VK_EXT_SCALAR_BLOCK_LAYOUT_SPEC_VERSION

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

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

        public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT
        Extends VkStructureType.
        See Also:
        Constant Field Values