v136 · webgpu
Buffer Readback Tool
Write float values into a GPU source buffer, copy them using the new 2-argument copyBufferToBuffer(src, dst) overload (no offsets required), map the destination back to CPU, and compare byte-for-byte with the result of the classic 5-argument form.
WebGPU is not available in this browser. This demo requires Chrome 113+ with WebGPU enabled.
Enter data & copy
Ready — click "Copy & Read Back" to run.
Results
new overload — Chrome 136+
copyBufferToBuffer(src, dst)
Run to see output
classic form — all Chrome
copyBufferToBuffer(src, 0, dst, 0, size)
Run to see output