Skip to content

WebGPU: Handle GpuInternalError#9919

Open
evilpie wants to merge 1 commit into
gfx-rs:trunkfrom
evilpie:webgpu-internal-error
Open

WebGPU: Handle GpuInternalError#9919
evilpie wants to merge 1 commit into
gfx-rs:trunkfrom
evilpie:webgpu-internal-error

Conversation

@evilpie

@evilpie evilpie commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Connections
Fixes #9914

Description
Instead of handling a thrown GpuInternalError, wgpu would just crash.

Testing
none

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.

@evilpie
evilpie force-pushed the webgpu-internal-error branch 2 times, most recently from a8f28c0 to 650ae83 Compare July 21, 2026 18:27
@ErichDonGubler ErichDonGubler changed the title WebGPU: Handle GpuInteralError WebGPU: Handle GpuInternalError Jul 22, 2026
@Wumpf Wumpf self-assigned this Jul 22, 2026
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.

BrowserWebGpu panics when decoding GPUInternalError

2 participants