Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[naga/wgsl-out]: polyfill inverse function #6385

Merged
merged 3 commits into from
Oct 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[naga/wgsl-out]: add _naga to list of reserved prefixes to namer
chyyran committed Oct 11, 2024
commit 083d7e963e3cd45cee78345d5960ed0979e500c3
2 changes: 1 addition & 1 deletion naga/src/back/wgsl/writer.rs
Original file line number Diff line number Diff line change
@@ -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();