C Specification

To query supported format extended features which are properties of the physical device, add VkFormatProperties3KHR structure to the pNext chain of VkFormatProperties2.

The VkFormatProperties3KHR structure is defined as:

// Provided by VK_KHR_format_feature_flags2
typedef struct VkFormatProperties3KHR {
    VkStructureType             sType;
    void*                       pNext;
    VkFormatFeatureFlags2KHR    linearTilingFeatures;
    VkFormatFeatureFlags2KHR    optimalTilingFeatures;
    VkFormatFeatureFlags2KHR    bufferFeatures;
} VkFormatProperties3KHR;

Members

  • linearTilingFeatures is a bitmask of VkFormatFeatureFlagBits2KHR specifying features supported by images created with a tiling parameter of VK_IMAGE_TILING_LINEAR.

  • optimalTilingFeatures is a bitmask of VkFormatFeatureFlagBits2KHR specifying features supported by images created with a tiling parameter of VK_IMAGE_TILING_OPTIMAL.

  • bufferFeatures is a bitmask of VkFormatFeatureFlagBits2KHR specifying features supported by buffers.

Description

The bits reported in linearTilingFeatures, optimalTilingFeatures and bufferFeatures must include the bits reported in the corresponding fields of VkFormatProperties2::formatProperties.

Valid Usage (Implicit)
  • VUID-VkFormatProperties3KHR-sType-sType
    sType must be VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3_KHR

See Also

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2021 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0