HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_KHR_maintenance11

Name

VK_KHR_maintenance11 - device extension

VK_KHR_maintenance11

Name String

VK_KHR_maintenance11

Extension Type

Device extension

Registered Extension Number

658

Revision

1

Ratification Status

Ratified

Extension and Version Dependencies

VK_KHR_get_physical_device_properties2

or

Vulkan Version 1.1

API Interactions
  • Interacts with VK_EXT_mesh_shader

  • Interacts with VK_EXT_shader_object

  • Interacts with VK_NV_mesh_shader

Contact
Extension Proposal

VK_KHR_maintenance11

Other Extension Metadata

Last Modified Date

2025-09-09

Interactions and External Dependencies; Contributors
  • Mike Blumenkrantz, Valve

  • Piers Daniell, NVIDIA

  • Hans-Kristian Arntzen, Valve

  • Caterina Shablia, Collabora

Description

VK_KHR_maintenance11 adds a collection of minor features, none of which would warrant an entire extension of their own.

The new features are as follows:

New Structures

New Enum Constants

If VK_EXT_shader_object is supported:

If VK_EXT_shader_object and VK_EXT_mesh_shader or VK_NV_mesh_shader is supported:

Issues

None.

Version History

  • Revision 1, 2025-09-09 (Mike Blumenkrantz)

    • Initial revision

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification.

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

  • 6 types
  • Packagevulkan-3.27
  • Exports21
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_KHR_maintenance11.hs

VkPhysicalDeviceMaintenance11FeaturesKHR - Structure describing whether the implementation supports maintenance11 functionality

Members

This structure describes the following feature:

Description

If the PhysicalDeviceMaintenance11FeaturesKHR structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. If the application wishes to use a Device with any features described by PhysicalDeviceMaintenance11FeaturesKHR, it must add an instance of the structure, with the desired feature members set to TRUE, to the pNext chain of DeviceCreateInfo when creating the Device.

Structure Chaining

Extends the structures

See Also

VK_KHR_maintenance11, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero

VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR - Structure specifying the optimal image transfer granularity for a queue family

Description

If this structure is included in the pNext chain of the QueueFamilyProperties2 structure passed to getPhysicalDeviceQueueFamilyProperties2, then it is filled with the optimal image transfer granularity for the specified queue family.

The value returned in optimalImageTransferGranularity has a unit of compressed texel blocks for images having a block-compressed format, and a unit of texels otherwise.

Possible values of optimalImageTransferGranularity are:

  • (0,0,0) specifies that an image copy operation is optimal only when copying whole mip levels, i.e. all of the following conditions are met:

    • The x, y, and z members of a Offset3D are zero.

    • The width, height, and depth members of a Extent3D parameter match the width, height, and depth of the image subresource corresponding to the parameter, respectively.

  • (Ax, Ay, Az) where Ax, Ay, and Az are all integer powers of two. An image copy operation is optimal when all of the following conditions are met:

    • width of a Extent3D parameter is an integer multiple of Ax, or else x + width equals the width of the image subresource corresponding to the parameter.

    • height of a Extent3D parameter is an integer multiple of Ay, or else y + height equals the height of the image subresource corresponding to the parameter.

    • depth of a Extent3D parameter is an integer multiple of Az, or else z + depth equals the depth of the image subresource corresponding to the parameter.

    • If the format of the image corresponding to the parameters is one of the block-compressed formats then for the purposes of the above calculations the granularity must be scaled up by the compressed texel block dimensions.

While it is not required that copies are optimal, there may be a performance cost for copies not aligned to optimalImageTransferGranularity.

Valid Usage (Implicit)

Structure Chaining

Extends the structure

See Also

VK_KHR_maintenance11, Extent3D, StructureType

Constructors

Instances5Show, Storable, FromCStruct, ToCStruct, Zero
newtypenewtype ShaderCreateFlagBitsEXT
#

VkShaderCreateFlagBitsEXT - Bitmask controlling how a shader object is created

Description

See Also

VK_EXT_shader_object, ShaderCreateFlagsEXT

Instances8Eq, Ord, Read, Show, Bits, FiniteBits, …