namespace Brutal.VulkanApi { /// /// VkTensorUsageFlagBitsARM - Bitmask specifying allowed usage of a tensor /// /// /// /// 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; /// /// [Flags] public enum VkTensorUsageFlagsARM : ulong { /// No flags set. None = 0, /// /// ShaderBitARM specifies that the tensor can be used to create a VkTensorViewARM suitable for occupying a VkDescriptorSet slot of type VK_DESCRIPTOR_TYPE_TENSOR_ARM accessed by shader stages. /// ShaderBitARM = 0x00000002, /// /// TransferSrcBitARM specifies that the tensor can be used as the source of a transfer command (see the definition of VK_PIPELINE_STAGE_TRANSFER_BIT^). /// TransferSrcBitARM = 0x00000004, /// /// TransferDstBitARM specifies that the tensor can be used as the destination of a transfer command. /// TransferDstBitARM = 0x00000008, /// /// ImageAliasingBitARM specifies that the tensor can be bound to a range of memory aliased with an image created with VK_IMAGE_TILING_OPTIMAL. See here for a complete set of rules for tensor/image aliasing. /// ImageAliasingBitARM = 0x00000010, /// /// DataGraphBitARM /// DataGraphBitARM = 0x00000020, } }