VkBindDataGraphPipelineSessionMemoryInfoARM
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;
pub struct BindDataGraphPipelineSessionMemoryInfoARM {
s_type: vk::StructureType,
p_next: *const c_void,
session: vk::DataGraphPipelineSessionARM,
bind_point: vk::DataGraphPipelineSessionBindPointARM,
object_index: u32,
memory: vk::DeviceMemory,
memory_offset: vk::DeviceSize,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.sessionis the data graph pipeline session to be attached to memory.bindPointis the data graph pipeline session bind point to whichmemoryis to be attached.objectIndexis the index of the object forbindPointat whichmemoryis to be attached.memoryis a VkDeviceMemory object describing the device memory to attach.memoryOffsetis the start offset of the resion ofmemorywhich 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
Valid Usage (Implicit)
VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-sType-sType
sType must be VK_STRUCTURE_TYPE_BIND_DATA_GRAPH_PIPELINE_SESSION_MEMORY_INFO_ARM
VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-pNext-pNext
pNext must be NULL
VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-session-parameter
session must be a valid VkDataGraphPipelineSessionARM handle
VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-bindPoint-parameter
bindPoint must be a valid VkDataGraphPipelineSessionBindPointARM value
VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-memory-parameter
memory must be a valid VkDeviceMemory handle
VUID-VkBindDataGraphPipelineSessionMemoryInfoARM-commonparent
Both of memory, and session must have been created, allocated, or retrieved from the same VkDevice