Structures
VkPhysicalDeviceFormatPackFeaturesARM
Structure describing whether the additional formats feature is supported by an implementation
The VkPhysicalDeviceFormatPackFeaturesARM structure is defined as:
typedef struct VkPhysicalDeviceFormatPackFeaturesARM {
VkStructureType sType;
void* pNext;
VkBool32 formatPack;
} VkPhysicalDeviceFormatPackFeaturesARM;
pub struct PhysicalDeviceFormatPackFeaturesARM {
s_type: vk::StructureType,
p_next: *mut c_void,
format_pack: vk::Bool32,
}
This structure describes the following feature:
formatPackindicates 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_BITVK_FORMAT_FEATURE_TRANSFER_SRC_BITVK_FORMAT_FEATURE_TRANSFER_DST_BIT
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.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceFormatPackFeaturesARM-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FORMAT_PACK_FEATURES_ARM