Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

compute_fft_scale

Inverse-FFT 1/N scale pass: divides every complex sample by the per-line N. Run after the inverse FFT stages. Used by nx.gpu.fft*.

Bindings (see bindings.yaml): data (read_write array<vec2<f32>>), params (read array<f32> — [total_elements, inv_scale]).

Usage: dispatch by identity with compute.dispatch("@builtin::shaders.compute_fft_scale", ...) — it resolves to the shader's stable guid and auto-compiles on first use (no setup).