Function Prototype

vkGetDeferredOperationResultKHR

Query the result of a deferred operation

The vkGetDeferredOperationResultKHR function is defined as:

VkResult vkGetDeferredOperationResultKHR(
    VkDevice device,
    VkDeferredOperationKHR operation);
  • device is the device which owns operation.
  • operation is the operation whose deferred result is being queried.

If no command has been deferred on operation, vkGetDeferredOperationResultKHR returns VK_SUCCESS.

If the deferred operation is pending, vkGetDeferredOperationResultKHR returns VK_NOT_READY.

If the deferred operation is complete, it returns the appropriate return value from the original command. This value must be one of the VkResult values which could have been returned by the original command if the operation had not been deferred.

Valid Usage (Implicit)

VUID-vkGetDeferredOperationResultKHR-operation-parent

operation must have been created, allocated, or retrieved from device