Structures

VkTensorRollingBackingCreateInfoARM

Structure specifying the parameters of a newly created tensor object with rolling backing

To create a tensor for which only a rolling window is backed by memory, add a VkTensorRollingBackingCreateInfoARM structure to the pNext chain of the VkTensorCreateInfoARM structure.

The VkTensorRollingBackingCreateInfoARM structure is defined as:

typedef struct VkTensorRollingBackingCreateInfoARM {
    VkStructureType sType;
    const void* pNext;
    uint32_t wraps[VK_MAX_TENSOR_CREATE_INFO_ROLLING_BACKING_WRAP_COUNT_ARM];
} VkTensorRollingBackingCreateInfoARM;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • wraps is an array of VK_MAX_TENSOR_CREATE_INFO_ROLLING_BACKING_WRAP_COUNT_ARM 32-bit integers specifying the size of the rolling window for the tensor along each of its dimensions.

Valid Usage

VUID-VkTensorRollingBackingCreateInfoARM-wraps-09835

For each i where i < VkTensorDescriptionARM::dimensionCount, wraps[i] must be less than or equal to VkTensorDescriptionARM::pDimensions[i]

VUID-VkTensorRollingBackingCreateInfoARM-wraps-09836

For each i where i < VkTensorDescriptionARM::dimensionCount, wraps[i] must either be equal to VkTensorDescriptionARM::pDimensions[i] or must be less than 2^16

VUID-VkTensorRollingBackingCreateInfoARM-wraps-09837

For each i where i < VkTensorDescriptionARM::dimensionCount, if wraps[i] is not equal to VkTensorDescriptionARM::pDimensions[i] and one element wraps[j] with j < i is not a power of two, then wraps[i] must be a power of two

VUID-VkTensorRollingBackingCreateInfoARM-wraps-09838

If VkTensorDescriptionARM::dimensionCount is greater than 1, then wraps[dimensionCount - 2] must be a multiple of brickOuterSize or must be equal to VkTensorDescriptionARM::pDimensions[dimensionCount - 2]

VUID-VkTensorRollingBackingCreateInfoARM-wraps-09839

If brickOuterSize is not equal to 1, then wraps[dimensionCount - 1] must be a multiple of 64 / brickOuterSize / elementSize or be equal to VkTensorDescriptionARM::pDimensions[dimensionCount - 1]

Valid Usage (Implicit)

VUID-VkTensorRollingBackingCreateInfoARM-sType-sType

sType must be VK_STRUCTURE_TYPE_TENSOR_ROLLING_BACKING_CREATE_INFO_ARM