VkTensorUsageFlagBitsARM(3)
C Specification
Bits which can be set in VkTensorDescriptionARM::usage
,
specifying usage behavior of a tensor, are:
// Provided by VK_ARM_tensors
// Flag bits for VkTensorUsageFlagBitsARM
typedef VkFlags64 VkTensorUsageFlagBitsARM;
static const VkTensorUsageFlagBitsARM VK_TENSOR_USAGE_SHADER_BIT_ARM = 0x00000002ULL;
static const VkTensorUsageFlagBitsARM VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM = 0x00000004ULL;
static const VkTensorUsageFlagBitsARM VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM = 0x00000008ULL;
static const VkTensorUsageFlagBitsARM VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM = 0x00000010ULL;
// Provided by VK_ARM_data_graph
static const VkTensorUsageFlagBitsARM VK_TENSOR_USAGE_DATA_GRAPH_BIT_ARM = 0x00000020ULL;
Description
-
VK_TENSOR_USAGE_SHADER_BIT_ARM
specifies that the tensor can be used to create aVkTensorViewARM
suitable for occupying aVkDescriptorSet
slot of typeVK_DESCRIPTOR_TYPE_TENSOR_ARM
accessed by shader stages. -
VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM
specifies that the tensor can be used as the source of a transfer command (see the definition ofVK_PIPELINE_STAGE_TRANSFER_BIT
). -
VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM
specifies that the tensor can be used as the destination of a transfer command. -
VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM
specifies that the tensor can be bound to a range of memory aliased with an image created withVK_IMAGE_TILING_OPTIMAL
. See Memory Aliasing for a complete set of rules for tensor/image aliasing. -
VK_TENSOR_USAGE_DATA_GRAPH_BIT_ARM
specifies that the tensor can be used to create aVkTensorViewARM
suitable for occupying aVkDescriptorSet
slot of typeVK_DESCRIPTOR_TYPE_TENSOR_ARM
accessed by data graph pipelines.
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.