Skip to content

Fix #9345#9702

Draft
inner-daemons wants to merge 3 commits into
gfx-rs:trunkfrom
inner-daemons:misleading-errors-view-format-array
Draft

Fix #9345#9702
inner-daemons wants to merge 3 commits into
gfx-rs:trunkfrom
inner-daemons:misleading-errors-view-format-array

Conversation

@inner-daemons

Copy link
Copy Markdown
Collaborator

Connections
Closes #9345

Description
Currently wgpu can give errors like this

Trying to create a view of format NV12 of a texture with format NV12, but this view format is not present in the texture's viewFormat array

Which are very unhelpful.

Testing
Not tested

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.

@cwfitzgerald

Copy link
Copy Markdown
Member

Please better PR title and commit names please

@cwfitzgerald cwfitzgerald self-assigned this Jun 24, 2026
@cwfitzgerald cwfitzgerald marked this pull request as draft July 7, 2026 17:48
@cwfitzgerald

Copy link
Copy Markdown
Member

Drafting until this gets iterated on

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.

Misleading errors with "view format not in view format array"

2 participants