diff --git a/src/xrt/include/xrt/xrt_results.h b/src/xrt/include/xrt/xrt_results.h index 9ddfb68d2..e494dc1bc 100644 --- a/src/xrt/include/xrt/xrt_results.h +++ b/src/xrt/include/xrt/xrt_results.h @@ -12,6 +12,14 @@ typedef enum xrt_result { XRT_SUCCESS = 0, + + /*! + * The operation was given a timeout and timed out. + * + * The value 2 picked so it matches VK_TIMEOUT. + */ + XRT_TIMEOUT = 2, + XRT_ERROR_IPC_FAILURE = -1, XRT_ERROR_NO_IMAGE_AVAILABLE = -2, XRT_ERROR_VULKAN = -3,