mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01: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:
1 parent
cc87b8f9eb
commit
b17eaf76a3
1 file changed
+1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user