Skip to content

Extract texture <-> buffer copy logic to wgpu-types #7553

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

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

cwfitzgerald
Copy link
Member

Connections

Part of #4150

Description

This extracts the number computation logic from the validation in wgpu-core so it can be re-used in wgpu-hal as well.

Testing

Wrote a bunch of tests for that logic, that wasn't there before.

Squash or Rebase?

Is single commit

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@cwfitzgerald cwfitzgerald force-pushed the cw/extract-texture-buffer-copy-logi branch from 5a95787 to a237191 Compare April 18, 2025 22:51
@cwfitzgerald cwfitzgerald force-pushed the cw/extract-texture-buffer-copy-logi branch from a237191 to ef5adc9 Compare April 18, 2025 23:17
@cwfitzgerald cwfitzgerald marked this pull request as ready for review April 19, 2025 03:06
@cwfitzgerald cwfitzgerald requested a review from a team as a code owner April 19, 2025 03:06
@ErichDonGubler ErichDonGubler self-assigned this Apr 22, 2025
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