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

Buffer as hal #5724

Merged
merged 5 commits into from
May 26, 2024
Merged

Buffer as hal #5724

merged 5 commits into from
May 26, 2024

Conversation

JasondeWolff
Copy link
Contributor

@JasondeWolff JasondeWolff commented May 21, 2024

Connections
It would be really nice to have access to wgpu buffers inside more low-level wgpu-hall passes as a user. This functionality is already exposed for the majority of structs where it's applicable, not exposing it for Buffer is confusing.

Description
Buffers created with wgpu cannot be accessed using wgpu-hal.

Testing
Was tested on my machine by writing and accessing into wgpu created buffers using the wgpu-hal bindgroups and command encoders.

Checklist

  • Run cargo fmt.
  • Run cargo clippy.
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@JasondeWolff JasondeWolff requested a review from a team as a code owner May 21, 2024 11:51
@Wumpf Wumpf self-requested a review May 26, 2024 06:55
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.

lgtm! thanks for filling out that gap

@Wumpf Wumpf merged commit cd744ef into gfx-rs:trunk May 26, 2024
25 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