Class KHRZeroInitializeWorkgroupMemory


  • public final class KHRZeroInitializeWorkgroupMemory
    extends java.lang.Object
    This extension allows the use of a null constant initializer on shader Workgroup memory variables, allowing implementations to expose any special hardware or instructions they may have. Zero initialization is commonly used by applications running untrusted content (e.g. web browsers) as way of defeating memory-scraping attacks.
    Promotion to Vulkan 1.3

    Functionality in this extension is included in core Vulkan 1.3, with the KHR suffix omitted. The original type, enum and command names are still available as aliases of the core functionality.

    VK_KHR_zero_initialize_workgroup_memory
    Name String
    VK_KHR_zero_initialize_workgroup_memory
    Extension Type
    Device extension
    Registered Extension Number
    326
    Revision
    1
    Extension and Version Dependencies
    Deprecation state
    Contact
    Other Extension Metadata
    Last Modified Date
    2020-11-18
    Interactions and External Dependencies
    • Promoted to Vulkan 1.3 Core
    IP Status
    No known IP claims.
    Contributors
    • Alan Baker, Google
    • Jeff Bolz, Nvidia
    • Jason Ekstrand, Intel
    • Field Detail

      • VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION

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

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

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