VK_KHR_uniform_buffer_standard_layout(3)

# VK_KHR_uniform_buffer_standard_layout(3) Manual Page

## Name

VK_KHR_uniform_buffer_standard_layout - device extension

Loading… please wait.

## Registered Extension Number

254

## Revision

1

## Extension and Version Dependencies

VK_KHR_get_physical_device_properties2

## Deprecation state

- Promoted to Vulkan 1.2

## Contact

- Graeme Leese gnl21

## Other Extension Metadata

Last Modified Date

  2019-01-25

Interactions and External Dependencies

  - Promoted to Vulkan 1.2 Core

Contributors

  - Graeme Leese, Broadcom

  - Jeff Bolz, NVIDIA

  - Tobias Hector, AMD

  - Faith Ekstrand, Intel

  - Neil Henning, AMD

## Description

This extension enables tighter array and struct packing to be used with uniform buffers.

It modifies the alignment rules for uniform buffers, allowing for tighter packing of arrays and structures. This allows, for example, the std430 layout, as defined in GLSL to be supported in uniform buffers.

## Promotion to Vulkan 1.2

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

## New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR

## New Enum Constants

- `VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_EXTENSION_NAME`

- `VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_SPEC_VERSION`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR`

## Version History

- Revision 1, 2019-01-25 (Graeme Leese)

  - Initial draft

## See Also

VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR

## 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 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0