mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Following Rust convention, let `naga::front::wgsl::ParseError`'s methods `emit_to_stderr_with_path` and `emit_to_string_with_path` accept any `AsRef<Path>` argument as the path. Pass input paths in snapshot tests, so that failures processing shaders name the input file being processed.