Const
The traversal stack is shared by both levels (see the WGSL). Stack entries are 32-bit "child references": the index in the low bits and the leaf primitive count in the top bits (0 = inner node).
The traversal stack is shared by both levels (see the WGSL). Stack entries are 32-bit "child references": the index in the low bits and the leaf primitive count in the top bits (0 = inner node).