Skip to content

Clean up some more Global stuff#9831

Merged
andyleiserson merged 2 commits into
gfx-rs:trunkfrom
sagudev:clean-up
Jul 21, 2026
Merged

Clean up some more Global stuff#9831
andyleiserson merged 2 commits into
gfx-rs:trunkfrom
sagudev:clean-up

Conversation

@sagudev

@sagudev sagudev commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Connections
Towards #5121

Description
In #9830 I discovered some stale profilling::scope and many doc comments still referring to Global so we replace those with methods on resources.

Testing
Just refactor/docs.

Squash or Rebase?

Rebase

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.

sagudev added 2 commits July 16, 2026 21:35
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
…ources

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
@sagudev
sagudev marked this pull request as ready for review July 16, 2026 19:44
@andyleiserson
andyleiserson merged commit 0eb5b62 into gfx-rs:trunk Jul 21, 2026
59 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