Skip to content

Commit

Permalink
[wgsl-in] Let lowering contexts point to a Function directly.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jimblandy committed Oct 23, 2023
1 parent 65f2216 commit df43ed7
Showing 1 changed file with 77 additions and 78 deletions.
Loading

0 comments on commit df43ed7

Please sign in to comment.