Every child slot that is a leaf, as node * 2 + side, ordered by the leaf's first primitive. Builders store primitives in tree order, so neighbouring entries are often siblings, which the GPU refit's subgroup step pairs up.
node * 2 + side
Every child slot that is a leaf, as
node * 2 + side, ordered by the leaf's first primitive. Builders store primitives in tree order, so neighbouring entries are often siblings, which the GPU refit's subgroup step pairs up.