Skip to content

Commit

Permalink
Actually display the warnings from the shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Sep 30, 2024
1 parent 6a8d3aa commit 85c5e5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vello_shaders/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ fn main() {
let mut shaders = match compile::ShaderInfo::from_default() {
Ok(s) => s,
Err(err) => {
eprintln!("{err}");
let formatted = err.to_string();
for line in formatted.lines() {
println!("cargo:warning={line}");
}
return;
}
};
Expand Down

0 comments on commit 85c5e5d

Please sign in to comment.