s_m2GroupBuckets
global · models
- Address
0xcefff8· 1004 bytes, up to0xcf03e3- Type
uint32_t[251]- Meaning
- Holds the buckets of the batch grouping hash, -1 when empty
- Confidence
- verified, proof one
- Finding
- models/scene#batch-grouping
Finding: Batch grouping in models: the scene
Before sorting, the grouped list (kind 2 elements) is grouped by inputs: a 251-bucket hash of the shared model, batch index, fog range, fog colour, spherical harmonic terms, colour and the instance colours finds each element's first equal element, the list is sorted by that representative, and each run of equal elements becomes one element with the run length, drawn as one batched run. Lists 0, 1 and 2 are then sorted: list 0 by the opaque order, lists 1 and 2 by the transparent order.
The derivation is in the doc.