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