Skip to content

Small optimization to prepare_surface_texture_for_submit#9473

Open
andyleiserson wants to merge 1 commit intogfx-rs:trunkfrom
andyleiserson:jj-push-xrty
Open

Small optimization to prepare_surface_texture_for_submit#9473
andyleiserson wants to merge 1 commit intogfx-rs:trunkfrom
andyleiserson:jj-push-xrty

Conversation

@andyleiserson
Copy link
Copy Markdown
Contributor

@andyleiserson andyleiserson commented Apr 28, 2026

Small cleanup as discussed in #9307 (comment).

Also updates some comments and adds a debug assert.

Testing
Relying on existing tests

Squash or Rebase? Squash

Checklist

  • I self-reviewed and fully understand this PR.
  • WebGPU implementations built with wgpu may be affected behaviorally.
  • Validation and feature gates are in place to confine behavioral changes.
  • Tests demonstrate the validation and altered logic works.
  • CHANGELOG.md entries for the user-facing effects of this change are present.
  • The PR is minimal, and doesn't make sense to land as multiple PRs.
  • Commits are logically scoped and individually reviewable.
  • The PR description has enough context to understand the motivation and solution implemented.

@andyleiserson andyleiserson marked this pull request as ready for review April 29, 2026 17:40
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.

1 participant