Log inGet started
Package

compute_double.computeShader

Newest version

This package holds more than this page lists. See all of its files in its world.

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 } }).