mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 08:14:12 +00:00
Add a missing err.emit();
for the "spirv-opt failed" error. (#412)
This commit is contained in:
parent
b60e258686
commit
2f9d4d8e0d
@ -202,6 +202,7 @@ fn do_spirv_opt(sess: &Session, spv_binary: Vec<u32>, filename: &Path) -> Vec<u3
|
||||
let mut err = sess.struct_warn(&e.to_string());
|
||||
err.note("spirv-opt failed, leaving as unoptimized");
|
||||
err.note(&format!("module {:?}", filename));
|
||||
err.emit();
|
||||
spv_binary
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user