Structures

VkBindDataGraphPipelineSessionMemoryInfoARM

Structure describing how to bind a data graph pipeline session to memory

The VkBindDataGraphPipelineSessionMemoryInfoARM structure is defined as:

typedef struct VkBindDataGraphPipelineSessionMemoryInfoARM {
    VkStructureType sType;
    const void* pNext;
    VkDataGraphPipelineSessionARM session;
    VkDataGraphPipelineSessionBindPointARM bindPoint;
    uint32_t objectIndex;
    VkDeviceMemory memory;
    VkDeviceSize memoryOffset;
} VkBindDataGraphPipelineSessionMemoryInfoARM;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • session is the data graph pipeline session to be attached to memory.
  • bindPoint is the data graph pipeline session bind point to which memory is to be attached.
  • objectIndex is the index of the object for bindPoint at which memory is to be attached.
  • memory is a VkDeviceMemory object describing the device memory to attach.
  • memoryOffset is the start offset of the resion of memory which is to be bound to the data graph pipeline session.

Valid Usage

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-session-09785

session must not have been bound to a memory object for bindPoint

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-bindPoint-09786

bindPoint must have been returned as part of a VkDataGraphPipelineSessionBindPointRequirementARM whose bindPointType member is VK_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_TYPE_MEMORY_ARM by a prior call to vkGetDataGraphPipelineSessionMemoryRequirementsARM for session

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-memoryOffset-09787

memoryOffset must be less than the size of memory

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-memory-09788

memory must have been allocated using one of the memory types allowed in the memoryTypeBits member of the VkMemoryRequirements structure returned from a call to vkGetDataGraphPipelineSessionMemoryRequirementsARM with session

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-memoryOffset-09789

memoryOffset must be an integer multiple of the alignment member of the VkMemoryRequirements structure returned from a call to vkGetDataGraphPipelineSessionMemoryRequirementsARM with session

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-size-09790

The size member of the VkMemoryRequirements structure returned from a call to vkGetDataGraphPipelineSessionMemoryRequirementsARM with session must be less than or equal to the size of memory minus memoryOffset

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-session-09791

If session was created with the VK_DATA_GRAPH_PIPELINE_SESSION_CREATE_PROTECTED_BIT_ARM bit set, the session must be bound to a memory object allocated with a memory type that reports VK_MEMORY_PROPERTY_PROTECTED_BIT

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-session-09792

If session was created with the VK_DATA_GRAPH_PIPELINE_SESSION_CREATE_PROTECTED_BIT_ARM bit not set, the session must not be bound to a memory object allocated with a memory type that reports VK_MEMORY_PROPERTY_PROTECTED_BIT

VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-objectIndex-09805

objectIndex must be less than the value of numObjects returned by vkGetDataGraphPipelineSessionBindPointRequirementsARM for bindPoint