Class KHRMaintenance5

java.lang.Object
org.lwjgl.vulkan.KHRMaintenance5

public class KHRMaintenance5 extends Object
VK_KHR_maintenance5 adds a collection of minor features, none of which would warrant an entire extension of their own.

The new features are as follows:

  • A new FORMAT_A1B5G5R5_UNORM_PACK16_KHR format
  • A new FORMAT_A8_UNORM_KHR format
  • A property to indicate that multisample coverage operations are performed after sample counting in EarlyFragmentTests mode
  • Relax VkBufferView creation requirements by allowing subsets of the associated VkBuffer usage using VkBufferUsageFlags2CreateInfoKHR
  • A new command CmdBindIndexBuffer2KHR, allowing a range of memory to be bound as an index buffer
  • GetDeviceProcAddr must return NULL for supported core functions beyond the version requested by the application.
  • A property to indicate that the sample mask test is performed after sample counting in EarlyFragmentTests mode
  • vkCmdBindVertexBuffers2 now supports using VK_WHOLE_SIZE in the pSizes parameter.
  • A default size of 1.0 is used if PointSize is not written
  • Shader modules are deprecated - applications can now pass VkShaderModuleCreateInfo as a chained struct to pipeline creation via VkPipelineShaderStageCreateInfo
  • A function GetRenderingAreaGranularityKHR to query the optimal render area for a dynamic rendering instance.
  • A property to indicate that depth/stencil texturing operations with COMPONENT_SWIZZLE_ONE have defined behavior
  • Add GetImageSubresourceLayout2KHR and a new function GetDeviceImageSubresourceLayoutKHR to allow the application to query the image memory layout without having to create an image object and query it.
  • Allow REMAINING_ARRAY_LAYERS as the layerCount member of VkImageSubresourceLayers
  • Adds stronger guarantees for propagation of ERROR_DEVICE_LOST return values
  • A property to indicate whether PointSize controls the final rasterization of polygons if polygon mode is POLYGON_MODE_POINT
  • Two properties to indicate the non-strict line rasterization algorithm used
  • Two new flags words VkPipelineCreateFlagBits2KHR and VkBufferUsageFlagBits2KHR
  • Physical-device-level functions can now be called with any value in the valid range for a type beyond the defined enumerants, such that applications can avoid checking individual features, extensions, or versions before querying supported properties of a particular enumerant.
  • Clarification that copies between images of any type are allowed, treating 1D images as 2D images with a height of 1.
Promotion to Vulkan 1.4

Functionality in this extension is included in core Vulkan 1.4 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_maintenance5
Extension Type
Device extension
Registered Extension Number
471
Revision
1
Extension and Version Dependencies
Version 1.1 and VK_KHR_dynamic_rendering or Version 1.3
API Interactions
  • Interacts with VK_VERSION_1_2
  • Interacts with VK_VERSION_1_3
  • Interacts with VK_VERSION_1_4
  • Interacts with VK_EXT_attachment_feedback_loop_layout
  • Interacts with VK_EXT_buffer_device_address
  • Interacts with VK_EXT_conditional_rendering
  • Interacts with VK_EXT_descriptor_buffer
  • Interacts with VK_EXT_fragment_density_map
  • Interacts with VK_EXT_graphics_pipeline_library
  • Interacts with VK_EXT_opacity_micromap
  • Interacts with VK_EXT_pipeline_creation_cache_control
  • Interacts with VK_EXT_pipeline_protected_access
  • Interacts with VK_EXT_transform_feedback
  • Interacts with VK_KHR_acceleration_structure
  • Interacts with VK_KHR_buffer_device_address
  • Interacts with VK_KHR_dynamic_rendering
  • Interacts with VK_KHR_fragment_shading_rate
  • Interacts with VK_KHR_pipeline_executable_properties
  • Interacts with VK_KHR_pipeline_library
  • Interacts with VK_KHR_ray_tracing_pipeline
  • Interacts with VK_KHR_video_decode_queue
  • Interacts with VK_KHR_video_encode_queue
  • Interacts with VK_NV_device_generated_commands
  • Interacts with VK_NV_displacement_micromap
  • Interacts with VK_NV_ray_tracing
  • Interacts with VK_NV_ray_tracing_motion_blur
Deprecation State
  • Promoted to Vulkan 1.4
Contact
Extension Proposal
VK_KHR_maintenance5
Other Extension Metadata
Last Modified Date
2023-05-02
Contributors
  • Stu Smith, AMD
  • Tobias Hector, AMD
  • Shahbaz Youssefi, Google
  • Slawomir Cygan, Intel
  • Lionel Landwerlin, Intel
  • James Fitzpatrick, Imagination Technologies
  • Andrew Garrard, Imagination Technologies
  • Ralph Potter, Samsung
  • Pan Gao, Huawei
  • Jan-Harald Fredriksen, ARM
  • Jon Leech, Khronos
  • Mike Blumenkrantz, Valve