Class KHRFormatFeatureFlags2

java.lang.Object
org.lwjgl.vulkan.KHRFormatFeatureFlags2

public final class KHRFormatFeatureFlags2 extends Object
This extension adds a new VkFormatFeatureFlagBits2KHR 64bits format feature flag type to extend the existing VkFormatFeatureFlagBits which is limited to 31 flags. At the time of this writing 29 bits of VkFormatFeatureFlagBits are already used.

Because VkFormatProperties2 is already defined to extend the Vulkan 1.0 GetPhysicalDeviceFormatProperties command, this extension defines a new VkFormatProperties3KHR to extend the VkFormatProperties.

On top of replicating all the bits from VkFormatFeatureFlagBits, VkFormatFeatureFlagBits2KHR adds the following bits :

Prior to version 2 of this extension, implementations exposing the shaderStorageImageReadWithoutFormat and shaderStorageImageWriteWithoutFormat features may not report FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT_KHR and FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT_KHR in VkFormatProperties3KHR::bufferFeatures. Despite this, buffer reads/writes are supported as intended by the original features.

Promotion to Vulkan 1.3

Vulkan APIs in this extension are included in core Vulkan 1.3, with the KHR suffix omitted. External interactions defined by this extension, such as SPIR-V token names, retain their original names. The original Vulkan API names are still available as aliases of the core functionality.

Name String
VK_KHR_format_feature_flags2
Extension Type
Device extension
Registered Extension Number
361
Revision
2
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 or Version 1.1
API Interactions
  • Interacts with VK_VERSION_1_2
  • Interacts with VK_EXT_filter_cubic
  • Interacts with VK_EXT_sampler_filter_minmax
  • Interacts with VK_IMG_filter_cubic
Deprecation State
Contact
Other Extension Metadata
Last Modified Date
2021-07-01
IP Status
No known IP claims.
Contributors
  • Lionel Landwerlin, Intel
  • Faith Ekstrand, Intel
  • Tobias Hector, AMD
  • Spencer Fricke, Samsung Electronics
  • Graeme Leese, Broadcom
  • Jan-Harald Fredriksen, ARM