Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[naga]: Make snapshot tests include paths in errors. #4742

Merged
merged 1 commit into from
Nov 21, 2023

Commits on Nov 21, 2023

  1. [naga]: Make snapshot tests include paths in errors.

    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.
    jimblandy committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    1a8b816 View commit details
    Browse the repository at this point in the history