bitPackRadixExclusiveScanWGSL¶
Overview¶
Performs a serial exclusive scan (prefix sum) on a bit-packed histogram. See bit_pack_radix_access for more documentation.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type bitPackRadixExclusiveScanWGSLOptions¶
- bitVector: WGSLVariableName
(u32/vec2u/vec3u/vec4u) name - bitsPerInnerPass: number
TODO: once this is working, form it into a larger object of settings for Radix handling e.g. 2 for a two-bit sort - bitVectorSize: number
(½/¾) for (u32/vec2u/vec3u/vec4u) e.g. 4 for a vec4u - maxCount: number
the maximum count in the histogram
Source Code¶
See the source for bitPackRadixExclusiveScanWGSL.ts in the alpenglow repository.