A pass with no texture output, for reductions: wgsl defines fn run(xy: vec2i, p: Params)
and works through buf_<name> atomics. 'pixels' runs it once per pixel of the filter's input
(size() is the input size), 'single' runs it once (xy = 0), e.g. to turn a histogram into a value.
Compute passes cannot be read as texture inputs and cannot be the last pass.
A pass with no texture output, for reductions:
wgsldefinesfn run(xy: vec2i, p: Params)and works throughbuf_<name>atomics. 'pixels' runs it once per pixel of the filter's input (size()is the input size), 'single' runs it once (xy = 0), e.g. to turn a histogram into a value. Compute passes cannot be read as texture inputs and cannot be the last pass.