createGpaSessionAMD :: MonadIO io=> Devicedeviceis the logical device that creates the GPA session object.-> GpaSessionCreateInfoAMDpCreateInfois a pointer to a GpaSessionCreateInfoAMD structure containing information about how the GPA session object is to be created.->"allocator"
::: Maybe AllocationCallbackspAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.-> io GpaSessionAMD
vkCreateGpaSessionAMD - Create a new GPA session object
Valid Usage (Implicit)
devicemust be a valid Device handle
pCreateInfomust be a valid pointer to a valid GpaSessionCreateInfoAMD structureIf
pAllocatoris notNULL,pAllocatormust be a valid pointer to a valid AllocationCallbacks structurepGpaSessionmust be a valid pointer to a GpaSessionAMD handleThe device must have been created with at least
1queue
Return Codes
See Also
VK_AMD_gpa_interface, AllocationCallbacks, Device, GpaSessionAMD, GpaSessionCreateInfoAMD