VK_KHR_zero_initialize_workgroup_memory(3)

# VK_KHR_zero_initialize_workgroup_memory(3) Manual Page

## Name

VK_KHR_zero_initialize_workgroup_memory - device extension

Loading… please wait.

## Registered Extension Number

326

## Revision

1

## Extension and Version Dependencies

- Requires Vulkan 1.0

- Requires `VK_KHR_get_physical_device_properties2`

  Last Modified Date

    2020-11-18

  IP Status

    No known IP claims.

  Interactions and External Dependencies

    None

  Contributors

    - Alan Baker, Google

    - Jeff Bolz, Nvidia

    - Jason Ekstrand, Intel

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.

### New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR

### New Enum Constants

- `VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME`

- `VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES_KHR`

### Version History

- Revision 1, 2020-11-18 (Alan Baker)

  - Internal draft version

## See Also

VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR

## Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright (c) 2014-2020 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0