mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-29 02:03:35 +00:00
snapshots::convert_spv: Print input name before processing. (#2467)
When `convert_spv` fails, this makes it easier to tell which file it was trying to process.
This commit is contained in:
parent
cc87b8f9eb
commit
b17eaf76a3
@ -653,6 +653,7 @@ fn convert_spv(name: &str, adjust_coordinate_space: bool, targets: Targets) {
|
||||
|
||||
let root = env!("CARGO_MANIFEST_DIR");
|
||||
|
||||
println!("Processing '{name}'");
|
||||
let module = naga::front::spv::parse_u8_slice(
|
||||
&fs::read(format!("{root}/{BASE_DIR_IN}/spv/{name}.spv")).expect("Couldn't find spv file"),
|
||||
&naga::front::spv::Options {
|
||||
|
Loading…
Reference in New Issue
Block a user