C Specification
The VkTensorCreateInfoARM structure is defined as:
// Provided by VK_ARM_tensors
typedef struct VkTensorCreateInfoARM {
VkStructureType sType;
const void* pNext;
VkTensorCreateFlagsARM flags;
const VkTensorDescriptionARM* pDescription;
VkSharingMode sharingMode;
uint32_t queueFamilyIndexCount;
const uint32_t* pQueueFamilyIndices;
} VkTensorCreateInfoARM;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
flags
is a bitmask of VkTensorCreateFlagBitsARM describing additional parameters of the tensor. -
pDescription
is a pointer to an instance of VkTensorDescriptionARM describing the tensor. -
sharingMode
is a VkSharingMode value specifying the sharing mode of the tensor when it will be accessed by multiple queue families. -
queueFamilyIndexCount
is the number of entries in thepQueueFamilyIndices
array. -
pQueueFamilyIndices
is a list of queue families that will access this tensor (ignored ifsharingMode
is notVK_SHARING_MODE_CONCURRENT
).
Description
To determine the set of valid usage
bits for a given tensor format,
call vkGetPhysicalDeviceFormatProperties2 with
VkTensorFormatPropertiesARM in the pNext
chain.
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.