VK_KHR_variable_pointers extension allows implementations to indicate their level of support for the SPV_KHR_variable_pointers SPIR-V extension. The SPIR-V extension allows shader modules to use invocation-private pointers into uniform and/or storage buffers, where the pointer values can be dynamic and non-uniform.
The SPV_KHR_variable_pointers extension introduces two capabilities. The first, VariablePointersStorageBuffer, must be supported by all implementations of this extension. The second, VariablePointers, is optional.
All functionality in this extension is included in core Vulkan 1.1, with the KHR suffix omitted, however support for the variablePointersStorageBuffer feature is made optional. The original type, enum and command names are still available as aliases of the core functionality.
VK_KHR_variable_pointersVK_KHR_get_physical_device_properties2 and VK_KHR_storage_buffer_storage_classSPV_KHR_variable_pointers| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_VARIABLE_POINTERS_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_VARIABLE_POINTERS_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| VK_KHR_VARIABLE_POINTERS_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_VARIABLE_POINTERS_EXTENSION_NAME The extension name. | |
| VK_KHR_VARIABLE_POINTERS_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_VARIABLE_POINTERS_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR Extends Enum values: | |
| KHRVariablePointers | back to summary |
|---|---|
| private KHRVariablePointers() | |