Package org.lwjgl.vulkan
Class KHRMaintenance1
java.lang.Object
org.lwjgl.vulkan.KHRMaintenance1
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:
- Allow 2D and 2D array image views to be created from 3D images, which can then be used as color framebuffer attachments. This allows applications to render to slices of a 3D image.
- Support
CmdCopyImagebetween 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. - Allow negative height to be specified in the
VkViewport::heightfield to perform y-inversion of the clip-space to framebuffer-space transform. This allows apps to avoid having to usegl_Position.y = -gl_Position.yin shaders also targeting other APIs. - Allow implementations to express support for doing just transfers and clears of image formats that they otherwise support no other format features for. This is done by adding new format feature flags
FORMAT_FEATURE_TRANSFER_SRC_BIT_KHRandFORMAT_FEATURE_TRANSFER_DST_BIT_KHR. - Support
CmdFillBufferon transfer-only queues. PreviouslyCmdFillBufferwas 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. - Fix the inconsistency of how error conditions are returned between the
CreateGraphicsPipelinesandCreateComputePipelinesfunctions and theAllocateDescriptorSetsandAllocateCommandBuffersfunctions. - Add new
ERROR_OUT_OF_POOL_MEMORY_KHRerror so implementations can give a more precise reason forAllocateDescriptorSetsfailures. - Add a new command
TrimCommandPoolKHRwhich gives the implementation an opportunity to release any unused command pool memory back to the system.
Promotion to Vulkan 1.1
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.
- Name String
VK_KHR_maintenance1- Extension Type
- Device extension
- Registered Extension Number
- 70
- Revision
- 2
- Deprecation State
- Promoted to Vulkan 1.1
- Contact
- Piers Daniell pdaniell-nv
Other Extension Metadata
- Last Modified Date
- 2018-03-13
- Contributors
- Dan Ginsburg, Valve
- Daniel Koch, NVIDIA
- Daniel Rakos, AMD
- Jan-Harald Fredriksen, ARM
- Faith Ekstrand, Intel
- Jeff Bolz, NVIDIA
- Jesse Hall, Google
- John Kessenich, Google
- Michael Worcester, Imagination Technologies
- Neil Henning, Codeplay Software Ltd.
- Piers Daniell, NVIDIA
- Slawomir Grajewski, Intel
- Tobias Hector, Imagination Technologies
- Tom Olson, ARM
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsVkResult.static final intExtendsVkFormatFeatureFlagBits.static final intExtendsVkFormatFeatureFlagBits.static final intExtendsVkImageCreateFlagBits.static final StringThe extension name.static final intThe extension specification version.static final StringThe extension name.static final intThe extension specification version. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvkTrimCommandPoolKHR(org.lwjgl.vulkan.VkDevice device, long commandPool, int flags) SeeTrimCommandPool.
-
Field Details
-
VK_KHR_MAINTENANCE_1_SPEC_VERSION
public static final int VK_KHR_MAINTENANCE_1_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_MAINTENANCE_1_EXTENSION_NAME
The extension name.- See Also:
-
VK_KHR_MAINTENANCE1_SPEC_VERSION
public static final int VK_KHR_MAINTENANCE1_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_MAINTENANCE1_EXTENSION_NAME
The extension name.- See Also:
-
VK_ERROR_OUT_OF_POOL_MEMORY_KHR
public static final int VK_ERROR_OUT_OF_POOL_MEMORY_KHRExtendsVkResult.- See Also:
-
VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR
public static final int VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHRExtendsVkFormatFeatureFlagBits.Enum values:
- See Also:
-
VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR
public static final int VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHRExtendsVkFormatFeatureFlagBits.Enum values:
- See Also:
-
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR
public static final int VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHRExtendsVkImageCreateFlagBits.- See Also:
-
-
Method Details
-
vkTrimCommandPoolKHR
public static void vkTrimCommandPoolKHR(org.lwjgl.vulkan.VkDevice device, long commandPool, int flags) SeeTrimCommandPool.- Parameters:
device- the logical device that owns the command pool.commandPool- the command pool to trim.flags- reserved for future use.
-