@pmndrs/reflections
    Preparing search index...

    Function dedupeWgslChunks

    • WGSL text with each marked chunk (markedChunkWgsl) kept at its first occurrence only, through dedupeChunks (so two different chunks under one key throw). Unmarked text is left as is. Passes that build a module from several seams' WGSL run their code through it (D4901).

      Parameters

      • code: string

      Returns string