Enum
VkTensorUsageFlagBitsARM
Bitmask specifying allowed usage of a tensor
Bits which can be set in VkTensorDescriptionARM::usage,
specifying usage behavior of a tensor, are:
typedef enum VkTensorUsageFlagBitsARM {
VK_TENSOR_USAGE_SHADER_BIT_ARM = 0x00000002ULL,
VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM = 0x00000004ULL,
VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM = 0x00000008ULL,
VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM = 0x00000010ULL,
} VkTensorUsageFlagBitsARM;
pub struct TensorUsageFlagBitsARM(u64);
impl TensorUsageFlagBitsARM {
pub const SHADER: Self = 0x00000002;
pub const TRANSFER_SRC: Self = 0x00000004;
pub const TRANSFER_DST: Self = 0x00000008;
pub const IMAGE_ALIASING: Self = 0x00000010;
}
VK_TENSOR_USAGE_SHADER_BIT_ARMspecifies that the tensor can be used to create aVkTensorViewARMsuitable for occupying aVkDescriptorSetslot of typeVK_DESCRIPTOR_TYPE_TENSOR_ARMaccessed by shader stages.VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARMspecifies 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_ARMspecifies that the tensor can be used as the destination of a transfer command.VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARMspecifies 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_ARMspecifies that the tensor can be used to create aVkTensorViewARMsuitable for occupying aVkDescriptorSetslot of typeVK_DESCRIPTOR_TYPE_TENSOR_ARMaccessed by data graph pipelines.
Parent
VK_ARM_tensorsType
Enum