1. A method, comprising: receiving a plurality of primitives associated with a frame to be rendered via a ray-tracing algorithm; ordering the plurality of primitives in a linear sequence based on a space-filling curve; grouping the primitives in a bounding volume hierarchy that represents a plurality of bounding volumes based on the linear sequence; and performing intersection tests corresponding to a plurality of rays utilizing the bounding volume hierarchy.