Webgpu Impl Buffer Upload

Use when uploading data to a WebGPU buffer or texture, or reading GPU results back to the CPU. Prevents the copy-failed validation error from unpadded bytesPerRow and stale readback data. Covers the upload decision tree (writeBuffer, mappedAtCreation, staging ring) and the GPU to CPU readback workflow with the 256-byte bytesPerRow padding. Keywords: buffer upload, writeBuffer, mappedAtCreation, staging buffer, readback, copyBufferToBuffer, copyTextureToBuffer, bytesPerRow, GPU to CPU, read pixels, download texture, how do I read data back from the GPU.

Impertio-Studio Updated 203 repo stars
35 Deterministic Skills for WebGPU

File contents

impertio-studio/webgpu-claude-skill-package commit c41fcae1c9

Frequently asked questions

npx get-skill add impertio-studio/webgpu-impl-buffer-upload