pub trait VK_ARM_tensors: Debug {
// Required methods
fn vkCreateTensorARM(
&self,
device: *const VkDevice_T,
pCreateInfo: *const VkTensorCreateInfoARM,
pAllocator: *const VkAllocationCallbacks,
pTensor: *mut *const VkTensorARM_T,
) -> Result<(), VkError>;
fn vkDestroyTensorARM(
&self,
device: *const VkDevice_T,
tensor: *const VkTensorARM_T,
pAllocator: *const VkAllocationCallbacks,
) -> Result<(), VkError>;
fn vkCreateTensorViewARM(
&self,
device: *const VkDevice_T,
pCreateInfo: *const VkTensorViewCreateInfoARM,
pAllocator: *const VkAllocationCallbacks,
pView: *mut *const VkTensorViewARM_T,
) -> Result<(), VkError>;
fn vkDestroyTensorViewARM(
&self,
device: *const VkDevice_T,
tensorView: *const VkTensorViewARM_T,
pAllocator: *const VkAllocationCallbacks,
) -> Result<(), VkError>;
fn vkGetTensorMemoryRequirementsARM(
&self,
device: *const VkDevice_T,
pInfo: *const VkTensorMemoryRequirementsInfoARM,
pMemoryRequirements: *mut VkMemoryRequirements2,
) -> Result<(), VkError>;
fn vkBindTensorMemoryARM(
&self,
device: *const VkDevice_T,
bindInfoCount: u32,
pBindInfos: *const VkBindTensorMemoryInfoARM,
) -> Result<(), VkError>;
fn vkGetDeviceTensorMemoryRequirementsARM(
&self,
device: *const VkDevice_T,
pInfo: *const VkDeviceTensorMemoryRequirementsARM,
pMemoryRequirements: *mut VkMemoryRequirements2,
) -> Result<(), VkError>;
fn vkCmdCopyTensorARM(
&self,
commandBuffer: *const VkCommandBuffer_T,
pCopyTensorInfo: *const VkCopyTensorInfoARM,
) -> Result<(), VkError>;
fn vkGetPhysicalDeviceExternalTensorPropertiesARM(
&self,
physicalDevice: *const VkPhysicalDevice_T,
pExternalTensorInfo: *const VkPhysicalDeviceExternalTensorInfoARM,
pExternalTensorProperties: *mut VkExternalTensorPropertiesARM,
) -> Result<(), VkError>;
fn vkGetTensorOpaqueCaptureDescriptorDataARM(
&self,
device: *const VkDevice_T,
pInfo: *const VkTensorCaptureDescriptorDataInfoARM,
pData: *mut c_void,
) -> Result<(), VkError>;
fn vkGetTensorViewOpaqueCaptureDescriptorDataARM(
&self,
device: *const VkDevice_T,
pInfo: *const VkTensorViewCaptureDescriptorDataInfoARM,
pData: *mut c_void,
) -> Result<(), VkError>;
}Expand description
trait for VK_ARM_tensors