C Specification

The VkWriteDescriptorSetTensorARM structure is defined as:

// Provided by VK_ARM_tensors
typedef struct VkWriteDescriptorSetTensorARM {
    VkStructureType           sType;
    const void*               pNext;
    uint32_t                  tensorViewCount;
    const VkTensorViewARM*    pTensorViews;
} VkWriteDescriptorSetTensorARM;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • tensorViewCount is the number of elements in pTensorViews.

  • pTensorViews are the tensor views that will be used to update the descriptor set.

Description

Valid Usage
  • VUID-VkWriteDescriptorSetTensorARM-tensorViewCount-09700
    tensorViewCount must be equal to descriptorCount in the VkWriteDescriptorSet structure

  • VUID-VkWriteDescriptorSetTensorARM-nullDescriptor-09898
    If the nullDescriptor feature is not enabled, each element of pTensorViews must not be VK_NULL_HANDLE

Valid Usage (Implicit)
  • VUID-VkWriteDescriptorSetTensorARM-sType-sType
    sType must be VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_TENSOR_ARM

  • VUID-VkWriteDescriptorSetTensorARM-pTensorViews-parameter
    pTensorViews must be a valid pointer to an array of tensorViewCount valid VkTensorViewARM handles

  • VUID-VkWriteDescriptorSetTensorARM-tensorViewCount-arraylength
    tensorViewCount must be greater than 0

See Also

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.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0