rullino
    Preparing search index...

    Interface ComputePassDef

    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.

    interface ComputePassDef {
        buffers: readonly string[];
        dispatch: "pixels" | "single";
        inputs: readonly string[];
        kind: "compute";
        name: string;
        wgsl: string;
    }
    Index
    buffers: readonly string[]
    dispatch: "pixels" | "single"
    inputs: readonly string[]
    kind: "compute"
    name: string
    wgsl: string