Skip to main content

gpu_error_of

Function gpu_error_of 

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

The class of error the GPU reported when it rejected a frame’s work (RenderError::Gpu), for the first such error in error’s source chain. Out of memory and validation have no protocol code of their own; this is the evidence a failure report classifies them by.