radixHistogramWGSL¶
Overview¶
Calculates a histogram for a section, then writes the histogram out in a striped manner ready for a prefix sum.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type radixHistogramWGSLOptions¶
- numBins: number
- storeHistogram: ( index: WGSLExpressionU32, value: WGSLExpressionU32 ) => WGSLStatements
indices up to numBins * Math.ceil( length / ( workgroupSize * grainSize ) ) - & WithoutNull<WithRequired<histogramWGSLOptions, "lengthExpression">, "lengthExpression">
Source Code¶
See the source for radixHistogramWGSL.ts in the alpenglow repository.