Skip to content

[core] device_create_texture_view -> Texture::create_view#9895

Open
sagudev wants to merge 1 commit into
gfx-rs:trunkfrom
sagudev:create_view
Open

[core] device_create_texture_view -> Texture::create_view#9895
sagudev wants to merge 1 commit into
gfx-rs:trunkfrom
sagudev:create_view

Conversation

@sagudev

@sagudev sagudev commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Connections
Towards #5121

Description
I started working on removing global from deno and noticed this. Interestingly enough, we were already reporting Texture::create_view in profiling scope and logging.

Testing
In rust we trust (just mechanical move and rename).

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.

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
@sagudev

sagudev commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator Author

Known CI flake. It works in my fork: https://github.com/sagudev/wgpu/actions/runs/29556927035/job/87810916554

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