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

Improve ergonomics of gfx_select! #5069

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Improve ergonomics of gfx_select! #5069

merged 1 commit into from
Jan 16, 2024

Conversation

udoprog
Copy link
Contributor

@udoprog udoprog commented Jan 16, 2024

Description
Improves the ergonomics of gfx_select! so that the more common self.<field> expression can be used directly with it.

Testing
Compile tested for the platforms I have available, but since this only affects code in the hal layer, that should cover most. I'm not sure how to compile test deno, so I just did the best I could and hopefully CI can try it out for me.

Checklist

  • Run cargo fmt.
  • Run cargo clippy.
  • Run cargo xtask test to run tests.

Internal change, so did not modify CHANGELOG.md. But will do so if it's still appropriate!

@udoprog udoprog requested a review from a team as a code owner January 16, 2024 07:47
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks a lot nicer 🤩 . Thank you!

@Wumpf Wumpf merged commit 90b078f into gfx-rs:trunk Jan 16, 2024
27 checks passed
@udoprog udoprog deleted the gfx-select branch January 16, 2024 10:32
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