kPayloadBits top-level constant

int const kPayloadBits

Number of low bits reserved for the payload an entry carries alongside its key.

The render list packs the draw's slot index here, which has two effects: one sort orders the draws directly, and because the sort is stable and the payload is the least significant field, equal keys keep submission order.

Implementation

const int kPayloadBits = 20;