Static rerun::external::eframe::egui_wgpu::wgpu::hal::VALIDATION_CANARY

pub static VALIDATION_CANARY: ValidationCanary
Expand description

Stores the text of any validation errors that have occurred since the last call to get_and_reset.

Each value is a validation error and a message associated with it, or None if the error has no message from the api.

This is used for internal wgpu testing only and must not be used as a way to check for errors.

This works as a static because cargo nextest runs all of our tests in separate processes, so each test gets its own canary.

This prevents the issue of one validation error terminating the entire process.