Skip to content

Commit

Permalink
remove panic
Browse files Browse the repository at this point in the history
  • Loading branch information
atlv24 committed Oct 24, 2024
1 parent 00af7af commit a70577f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion naga/src/back/wgsl/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,9 @@ impl<W: Write> Writer<W> {
fun: _,
value: _,
} => {
unimplemented!("Image atomics are not yet supported");
return Err(Error::Unimplemented(
"Image atomics are not yet supported".into(),
));
}
Statement::WorkGroupUniformLoad { pointer, result } => {
write!(self.out, "{level}")?;
Expand Down

0 comments on commit a70577f

Please sign in to comment.