C Specification
The VkPhysicalDeviceFormatPackFeaturesARM
structure is defined as:
// Provided by VK_ARM_format_pack
typedef struct VkPhysicalDeviceFormatPackFeaturesARM {
VkStructureType sType;
void* pNext;
VkBool32 formatPack;
} VkPhysicalDeviceFormatPackFeaturesARM;
Members
This structure describes the following feature:
-
formatPack
indicates that the implementation must support using a VkFormat ofVK_FORMAT_R10X6_UINT_PACK16_ARM
,VK_FORMAT_R10X6G10X6_UINT_2PACK16_ARM
,VK_FORMAT_R10X6G10X6B10X6A10X6_UINT_4PACK16_ARM
,VK_FORMAT_R12X4_UINT_PACK16_ARM
,VK_FORMAT_R12X4G12X4_UINT_2PACK16_ARM
,VK_FORMAT_R12X4G12X4B12X4A12X4_UINT_4PACK16_ARM
,VK_FORMAT_R14X2_UINT_PACK16_ARM
,VK_FORMAT_R14X2G14X2_UINT_2PACK16_ARM
, andVK_FORMAT_R14X2G14X2B14X2A14X2_UINT_4PACK16_ARM
, with at least the following VkFormatFeatureFlagBits:-
VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT
-
VK_FORMAT_FEATURE_TRANSFER_SRC_BIT
-
VK_FORMAT_FEATURE_TRANSFER_DST_BIT
-
Description
If the VkPhysicalDeviceFormatPackFeaturesARM
structure is included in the pNext
chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceFormatPackFeaturesARM
, it must add an instance of the structure,
with the desired feature members set to VK_TRUE
, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
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.