This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
//! This example illustrates how to create a custom diagnostic. use ; // All diagnostics should have a unique DiagnosticId. // For each new diagnostic, generate a new random number. pub const SYSTEM_ITERATION_COUNT: DiagnosticId = from_u128;