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

[wgsl-in] Let lowering contexts point to a Function directly. #2580

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

jimblandy
Copy link
Member

(Draft because it depends on #2572.)

Change StatementContext and RuntimeExpressionContext in
front::wgsl::lower to hold a &mut crate::Function reference,
rather than separate pointers to individual fields of the Function.
This replaces three fields with one, and clarifies their
relationships.

Change `StatementContext` and `RuntimeExpressionContext` in
`front::wgsl::lower` to hold a `&mut crate::Function` reference,
rather than separate pointers to individual fields of the `Function`.
This replaces three fields with one, and clarifies their
relationships.
@jimblandy jimblandy marked this pull request as ready for review October 23, 2023 23:46
@jimblandy jimblandy requested a review from a team as a code owner October 23, 2023 23:46
@teoxoy teoxoy merged commit 86b6db6 into gfx-rs:master Oct 24, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants