1// Copyright 2017-2024 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5include::{generated}/meta/{refprefix}VK_EXT_scalar_block_layout.adoc[] 6 7=== Other Extension Metadata 8 9*Last Modified Date*:: 10 2018-11-14 11*Contributors*:: 12 - Jeff Bolz 13 - Jan-Harald Fredriksen 14 - Graeme Leese 15 - Faith Ekstrand 16 - John Kessenich 17 18=== Description 19 20This extension enables C-like structure layout for SPIR-V blocks. 21It modifies the alignment rules for uniform buffers, storage buffers and 22push constants, allowing non-scalar types to be aligned solely based on the 23size of their components, without additional requirements. 24 25=== Promotion to Vulkan 1.2 26 27Functionality in this extension is included in core Vulkan 1.2, with the EXT 28suffix omitted. 29However, if Vulkan 1.2 is supported and this extension is not, the 30code:scalarBlockLayout capability is optional. 31The original type, enum and command names are still available as aliases of 32the core functionality. 33 34include::{generated}/interfaces/VK_EXT_scalar_block_layout.adoc[] 35 36=== Version History 37 38 * Revision 1, 2018-11-14 (Tobias Hector) 39 ** Initial draft 40