VK_KHR_maintenance1 adds a collection of minor features that were intentionally left out or overlooked from the original Vulkan 1.0 release.
The new features are as follows:
CmdCopyImage between 2D array layers and 3D slices. This extension allows copying from layers of a 2D array image to slices of a 3D image and vice versa.VkViewport::height field to perform y-inversion of the clip-space to framebuffer-space transform. This allows apps to avoid having to use gl_Position.y = -gl_Position.y in shaders also targeting other APIs.FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR and FORMAT_FEATURE_TRANSFER_DST_BIT_KHR.CmdFillBuffer on transfer-only queues. Previously CmdFillBuffer was defined to only work on command buffers allocated from command pools which support graphics or compute queues. It is now allowed on queues that just support transfer operations.CreateGraphicsPipelines and CreateComputePipelines functions and the AllocateDescriptorSets and AllocateCommandBuffers functions.ERROR_OUT_OF_POOL_MEMORY_KHR error so implementations can give a more precise reason for AllocateDescriptorSets failures.TrimCommandPoolKHR which gives the implementation an opportunity to release any unused command pool memory back to the system.All functionality in this extension is included in core Vulkan 1.1, with the KHR suffix omitted. The original type, enum and command names are still available as aliases of the core functionality.
VK_KHR_maintenance1| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_ERROR_OUT_OF_POOL_MEMORY_KHR
Extends |
| public static final int | VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR
Extends |
| public static final int | VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR
Extends |
| public static final int | VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR
Extends |
| public static final String | VK_KHR_MAINTENANCE1_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_MAINTENANCE1_SPEC_VERSION
The extension specification version. |
| public static final String | VK_KHR_MAINTENANCE_1_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_MAINTENANCE_1_SPEC_VERSION
The extension specification version. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | vkTrimCommandPoolKHR(VkDevice
the logical device that owns the command pool. device, long the command pool to trim. commandPool, int reserved for future use. flags)See |
| VK_ERROR_OUT_OF_POOL_MEMORY_KHR | back to summary |
|---|---|
| public static final int VK_ERROR_OUT_OF_POOL_MEMORY_KHR Extends | |
| VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR | back to summary |
|---|---|
| public static final int VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR Extends Enum values: | |
| VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR | back to summary |
|---|---|
| public static final int VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR Extends Enum values: | |
| VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR | back to summary |
|---|---|
| public static final int VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR Extends | |
| VK_KHR_MAINTENANCE1_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_MAINTENANCE1_EXTENSION_NAME The extension name. | |
| VK_KHR_MAINTENANCE1_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_MAINTENANCE1_SPEC_VERSION The extension specification version. | |
| VK_KHR_MAINTENANCE_1_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_MAINTENANCE_1_EXTENSION_NAME The extension name. | |
| VK_KHR_MAINTENANCE_1_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_MAINTENANCE_1_SPEC_VERSION The extension specification version. | |
| KHRMaintenance1 | back to summary |
|---|---|
| protected KHRMaintenance1() | |
| vkTrimCommandPoolKHR | back to summary |
|---|---|
| public static void vkTrimCommandPoolKHR(VkDevice device, long commandPool, int flags) See
| |