Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

compute_double

Reference compute shader that doubles every f32 in a storage buffer — the simplest possible compute pattern (one read-write buffer, no inputs).

Bindings (see bindings.yaml): data — read_write array<f32>.

Usage: dispatch by identity — it resolves to the shader's stable guid and auto-compiles on first use (no setup): compute.dispatch("@builtin::shaders.compute_double", { buffers = { "data" }, workgroups = { 1, 1, 1 } }).