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] Miscellaneous cleanups to construction lowering #2585

Merged
merged 3 commits into from
Oct 23, 2023

Conversation

jimblandy
Copy link
Member

  • Doc fix for Lowerer::constructor.

  • Delete ComponentsHandle type.

    In front:wgsl::lower::construct, build Components values directly,
    rather than building a ComponentsHandle and then calling its
    borrow method.

  • Consolidate array and struct cases in construction.

@jimblandy jimblandy marked this pull request as ready for review October 23, 2023 15:46
@jimblandy jimblandy requested a review from a team as a code owner October 23, 2023 15:46
src/front/wgsl/lower/mod.rs Show resolved Hide resolved
In `front:wgsl::lower::construct`, build `Components` values directly,
rather than building a `ComponentsHandle` and then calling its
`borrow` method.
@jimblandy jimblandy enabled auto-merge (rebase) October 23, 2023 17:27
@jimblandy jimblandy merged commit 65f2216 into gfx-rs:master Oct 23, 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