Structures

VkPhysicalDeviceSparseImageFormatInfo2

Structure specifying sparse image format inputs

The VkPhysicalDeviceSparseImageFormatInfo2 structure is defined as:

typedef struct VkPhysicalDeviceSparseImageFormatInfo2 {
    VkStructureType sType;
    const void* pNext;
    VkFormat format;
    VkImageType type;
    VkSampleCountFlagBits samples;
    VkImageUsageFlags usage;
    VkImageTiling tiling;
} VkPhysicalDeviceSparseImageFormatInfo2;

or the equivalent

typedef VkPhysicalDeviceSparseImageFormatInfo2 VkPhysicalDeviceSparseImageFormatInfo2KHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • format is the image format.
  • type is the dimensionality of the image.
  • samples is a VkSampleCountFlagBits value specifying the number of samples per texel.
  • usage is a bitmask describing the intended usage of the image.
  • tiling is the tiling arrangement of the texel blocks in memory.

Valid Usage

VUID-VkPhysicalDeviceSparseImageFormatInfo2-samples-01095

samples must be a valid VkSampleCountFlagBits value that is set in VkImageFormatProperties::sampleCounts returned by vkGetPhysicalDeviceImageFormatProperties with format, type, tiling, and usage equal to those in this command