VK_KHR_16bit_storage extension allows use of 16-bit types in shader input and output interfaces, and push constant blocks. This extension introduces several new optional features which map to SPIR-V capabilities and allow access to 16-bit data in Block-decorated objects in the Uniform and the StorageBuffer storage classes, and objects in the PushConstant storage class. This extension allows 16-bit variables to be declared and used as user-defined shader inputs and outputs but does not change location assignment and component assignment rules.
All functionality in this extension is included in core Vulkan 1.1, with the KHR suffix omitted. However, if Vulkan 1.1 is supported and this extension is not, the storageBuffer16BitAccess capability is optional. The original type, enum and command names are still available as aliases of the core functionality.
VK_KHR_16bit_storageVK_KHR_get_physical_device_properties2 and VK_KHR_storage_buffer_storage_classSPV_KHR_16bit_storageGL_EXT_shader_16bit_storage| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_16BIT_STORAGE_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_16BIT_STORAGE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| VK_KHR_16BIT_STORAGE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_16BIT_STORAGE_EXTENSION_NAME The extension name. | |
| VK_KHR_16BIT_STORAGE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_16BIT_STORAGE_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR Extends | |
| KHR16bitStorage | back to summary |
|---|---|
| private KHR16bitStorage() | |