mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-25 20:45:12 +00:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
|
// Copyright (c) 2017-2019 Khronos Group. This work is licensed under a
|
||
|
// Creative Commons Attribution 4.0 International License; see
|
||
|
// http://creativecommons.org/licenses/by/4.0/
|
||
|
|
||
|
include::meta/VK_KHR_uniform_buffer_standard_layout.txt[]
|
||
|
|
||
|
*Last Modified Date*::
|
||
|
2019-01-25
|
||
|
*Contributors*::
|
||
|
- Graeme Leese, Broadcom
|
||
|
- Jeff Bolz, NVIDIA
|
||
|
- Tobias Hector, AMD
|
||
|
- Jason Ekstrand, Intel
|
||
|
- Neil Henning, AMD
|
||
|
|
||
|
|
||
|
=== Short Description
|
||
|
|
||
|
Enables tighter array and struct packing to be used with uniform buffers.
|
||
|
|
||
|
=== Description
|
||
|
|
||
|
This extension 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
|
||
|
https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.4.60.pdf[GLSL]
|
||
|
to be supported in uniform buffers.
|
||
|
|
||
|
=== New Enum Constants
|
||
|
|
||
|
* Extending elink:VkStructureType:
|
||
|
** ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR
|
||
|
|
||
|
=== New Structures
|
||
|
|
||
|
* slink:VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR
|
||
|
|
||
|
=== Issues
|
||
|
|
||
|
None.
|
||
|
|
||
|
=== Version History
|
||
|
|
||
|
* Revision 1, 2019-01-25 (Graeme Leese)
|
||
|
- Initial draft
|