Quoting Daniel Vetter (2020-05-11 10:54:33)
- worse, neither vk nor gl (to my knowledge) have a concept of events for when the gpu died. The only stuff you have is things like arb_robustness which says a) everything continues as if nothing happened b) there's a function where you can ask whether your gl context and all the textures/buffers are toast.
Vulkan/DX12 arrived after eGPU, and there is at least the concept of VK_ERROR_DEVICE_LOST. Mainly used at the moment after a GPU hang and loss of context.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.htm... -Chris