Skip to content

Commit

Permalink
[naga/wgsl-out]: add _naga to list of reserved prefixes to namer
Browse files Browse the repository at this point in the history
  • Loading branch information
chyyran committed Oct 10, 2024
1 parent 9e98e0f commit 8309067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naga/src/back/wgsl/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl<W: Write> Writer<W> {
// an identifier must not start with two underscore
&[],
&[],
&["__"],
&["__", "_naga"],
&mut self.names,
);
self.named_expressions.clear();
Expand Down

0 comments on commit 8309067

Please sign in to comment.