/** * Build a balanced constant-index lookup for the threshold sample array. * * SkSL does not allow a runtime value to index a uniform array. A linear loop * works around that restriction, but makes every covered fragment visit every * segment. This tree keeps every array index constant while selecting the same * segment in at most `ceil(log2(sampleCount - 1))` comparisons (six for the * production 64-sample shader). */ export declare function buildThresholdLookupTree(sampleCount: number): string; /** Build the complete time-varying threshold split shader. */ export declare function buildThresholdSplitShaderSource(sampleCount: number): string; //# sourceMappingURL=thresholdSplitShaderSource.d.ts.map