Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Web GPU Compute

Targeting WGSL: AST-to-WGSL translation, handling memory layout and @workgroup_size.

Buffer & Pipeline Abstractions: Mapping state memory to storage buffers (@binding) and managing ping-pong passes.

Execution & Dispatch: Setting up compute pipelines, dispatching workgroups, and handling headless vs. visual execution.

Headless Data Readback: Staging buffers and asynchronous GPU-to-CPU state extraction.

Drafting in progress…