webgpu-errors-validation
Installation
SKILL.md
WebGPU Validation and Errors
Capture and diagnose WebGPU validation failures with error scopes and the
uncapturederror event. WebGPU errors are asynchronous and contagious, not
synchronous like WebGL's gl.getError().
Quick Reference
WebGPU 1.0-stable (Chrome 113+, Safari 26+, Firefox 141+).
Error types: the three GPUError subtypes
| Subtype | Cause | Filter string |
|---|---|---|
GPUValidationError |
Invalid API usage (the most common). Mismatched bind group layout, bad alignment, wrong descriptor field. | "validation" |
GPUOutOfMemoryError |
An allocation failed (buffer or texture too large). | "out-of-memory" |
GPUInternalError |
A driver or implementation failure not attributable to the app. | "internal" |