Function Prototype
vkGetGpaSessionStatusAMD
Getting the status of a GPA session
Once a GPA session has ended, its status can be queried by:
VkResult vkGetGpaSessionStatusAMD(
VkDevice device,
VkGpaSessionAMD gpaSession);
pub fn get_gpa_session_status_amd(
device: vk::Device,
gpa_session: vk::GpaSessionAMD,
) -> vk::Result;
deviceis the logical device that sets the clocks.gpaSessionis the session whose status is queried.
Valid Usage (Implicit)
VUID-vkGetGpaSessionStatusAMD-device-parameter
device must be a valid VkDevice handle
VUID-vkGetGpaSessionStatusAMD-gpaSession-parameter
gpaSession must be a valid VkGpaSessionAMD handle
VUID-vkGetGpaSessionStatusAMD-gpaSession-parent
gpaSession must have been created, allocated, or retrieved from device
Parent
VK_AMD_gpa_interfaceType
Function Prototype
Return Values
VK_SUCCESS
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_UNKNOWN
VK_ERROR_VALIDATION_FAILED