mainMergeWGSL¶
Overview¶
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type mainMergeWGSLOptions¶
- inputA: BufferSlot<T[]>
- inputB: BufferSlot<T[]>
- output: BufferSlot<T[]>
- workgroupSize: number
- blockOutputSize: number
- sharedMemorySize: number
should be a divisor of blockOutputSize, and ideally a multiple of workgroupSize - order: CompareOrder<T>
- lengthExpressionA: WGSLExpressionU32
- lengthExpressionB: WGSLExpressionU32
Source Code¶
See the source for mainMergeWGSL.ts in the alpenglow repository.