public class KHRMaintenance1
extends java.lang.Object
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 |
|---|---|
static int |
VK_ERROR_OUT_OF_POOL_MEMORY_KHR
Extends
VkResult. |
static int |
VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR
Extends
VkFormatFeatureFlagBits. |
static int |
VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR
Extends
VkFormatFeatureFlagBits. |
static int |
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR
Extends
VkImageCreateFlagBits. |
static java.lang.String |
VK_KHR_MAINTENANCE1_EXTENSION_NAME
The extension name.
|
static int |
VK_KHR_MAINTENANCE1_SPEC_VERSION
The extension specification version.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
vkTrimCommandPoolKHR(org.lwjgl.vulkan.VkDevice device,
long commandPool,
int flags)
See
TrimCommandPool. |
public static final int VK_KHR_MAINTENANCE1_SPEC_VERSION
public static final java.lang.String VK_KHR_MAINTENANCE1_EXTENSION_NAME
public static final int VK_ERROR_OUT_OF_POOL_MEMORY_KHR
VkResult.public static final int VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR
VkFormatFeatureFlagBits.
public static final int VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR
VkFormatFeatureFlagBits.
public static final int VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR
VkImageCreateFlagBits.public static void vkTrimCommandPoolKHR(org.lwjgl.vulkan.VkDevice device,
long commandPool,
int flags)
TrimCommandPool.device - the logical device that owns the command pool.commandPool - the command pool to trim.flags - reserved for future use.Copyright LWJGL. All Rights Reserved. License terms.