mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
[wgsl-in] Print errors nicely in convert_wgsl snapshot tests. (#1274)
This commit is contained in:
1 parent
680f80103b
commit
4204e5e027
1 file changed
+1
-1
+1
-1
@@ -456,7 +456,7 @@ fn convert_wgsl() {
|
||||
.expect("Couldn't find wgsl file");
|
||||
match naga::front::wgsl::parse_str(&file) {
|
||||
Ok(module) => check_targets(&module, name, targets),
|
||||
Err(e) => panic!("{}", e),
|
||||
Err(e) => panic!("{}", e.emit_to_string(&file)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user