toStripedIndexWGSL¶
Overview¶
Converts an index from a normal (blocked) order to a striped order (for improved memory coherence).
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type toStripedIndexWGSLOptions¶
- i: WGSLExpressionU32
represents a normal (blocked) index into data. So 0 is the 1st element, 1 is the 2nd, etc. - & RakedSizable
Source Code¶
See the source for toStripedIndexWGSL.ts in the alpenglow repository.