Skip to content

feat(webgpu): log uncaptured WebGPU errors#8757

Merged
mvaligursky merged 1 commit into
mainfrom
mv-webgpu-uncaptured-error-log
May 21, 2026
Merged

feat(webgpu): log uncaptured WebGPU errors#8757
mvaligursky merged 1 commit into
mainfrom
mv-webgpu-uncaptured-error-log

Conversation

@mvaligursky
Copy link
Copy Markdown
Contributor

Surface uncaptured WebGPU errors (validation, out-of-memory, internal) via Debug.error. Without this, errors that escape error scopes are silently swallowed by the browser, producing symptoms that are hard to diagnose (e.g. "rendering looks fine but nothing is composited").

Changes:

  • WebgpuGraphicsDevice registers an uncapturederror listener on the GPU device right after the lost handler, logging the error name and message.

Surface uncaptured WebGPU errors (validation, out-of-memory, internal) via
Debug.error. Without this, errors that escape error scopes are silently
swallowed by the browser, producing symptoms that are hard to diagnose
(e.g. "rendering looks fine but nothing is composited").
@mvaligursky mvaligursky self-assigned this May 21, 2026
@mvaligursky mvaligursky merged commit 55d951e into main May 21, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-webgpu-uncaptured-error-log branch May 21, 2026 13:22
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