vkGetTensorOpaqueCaptureDescriptorDataARM(3)

# vkGetTensorOpaqueCaptureDescriptorDataARM(3) Manual Page

## Name

vkGetTensorOpaqueCaptureDescriptorDataARM - Get tensor opaque capture descriptor data

## C Specification

To get the opaque capture descriptor data for a tensor, call:

    // Provided by VK_EXT_descriptor_buffer with VK_ARM_tensors
    VkResult vkGetTensorOpaqueCaptureDescriptorDataARM(
        VkDevice                                    device,
        const VkTensorCaptureDescriptorDataInfoARM* pInfo,
        void*                                       pData);

## Parameters

- `device` is the logical device that gets the data.

- `pInfo` is a pointer to a VkTensorCaptureDescriptorDataInfoARM structure specifying the tensor.

- `pData` is a pointer to a user-allocated buffer where the data will be written.

## Description

Valid Usage

- VUID-vkGetTensorOpaqueCaptureDescriptorDataARM-descriptorBufferCaptureReplay-09702
  The `descriptorBufferCaptureReplay` and `descriptorBufferTensorDescriptors` features must be enabled

- VUID-vkGetTensorOpaqueCaptureDescriptorDataARM-pData-09703
  `pData` must point to a buffer that is at least VkPhysicalDeviceDescriptorBufferTensorPropertiesARM::`tensorCaptureReplayDescriptorDataSize` bytes in size

- VUID-vkGetTensorOpaqueCaptureDescriptorDataARM-device-09704
  If `device` was created with multiple physical devices, then the `bufferDeviceAddressMultiDevice` feature must be enabled

Valid Usage (Implicit)

- VUID-vkGetTensorOpaqueCaptureDescriptorDataARM-device-parameter
  `device` must be a valid VkDevice handle

- VUID-vkGetTensorOpaqueCaptureDescriptorDataARM-pInfo-parameter
  `pInfo` must be a valid pointer to a valid VkTensorCaptureDescriptorDataInfoARM structure

- VUID-vkGetTensorOpaqueCaptureDescriptorDataARM-pData-parameter
  `pData` must be a pointer value

Return Codes

On success, this command returns

  - VK_SUCCESS

On failure, this command returns

  - VK_ERROR_OUT_OF_DEVICE_MEMORY

  - VK_ERROR_OUT_OF_HOST_MEMORY

  - VK_ERROR_UNKNOWN

  - VK_ERROR_VALIDATION_FAILED

## See Also

VK_ARM_tensors, VK_EXT_descriptor_buffer, VkDevice, VkTensorCaptureDescriptorDataInfoARM

## 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

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0