Skip to main content

gpu_fault_of

Function gpu_fault_of 

Source
pub fn gpu_fault_of(error: &(dyn Error + 'static)) -> Option<GpuFault>
Expand description

What the platform’s status for a failed GPU call said about the device, for the first error in error’s source chain that carries one: a native synchronization the renderer met, or a decoder’s or encoder’s GPU call. A memory fault has no protocol code of its own; this is the evidence a failure report classifies it by.