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

Unify Arc*Descriptors into *Descriptors #7056

Merged
merged 3 commits into from
Feb 6, 2025
Merged

Conversation

sagudev
Copy link
Contributor

@sagudev sagudev commented Feb 4, 2025

Connections
Based on my idea from #5121 (comment)

Description
Generalize Arc*Descriptors into *Descriptors using generics. Usually the only difference is id->Arc, but some cases are more complicated as Arc*Descriptors represents resolved state (ArcRenderPassDepthStencilAttachment) so I think it's not worth generalizing them.

Testing
Fearless refactoring is provided by Rust.

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@sagudev sagudev requested review from crowlKats and a team as code owners February 4, 2025 16:21
@nical nical merged commit 9db6430 into gfx-rs:trunk Feb 6, 2025
33 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.

3 participants