-
This is mostly adapted from radv's BVH building. This defines a common "IR" for BVH trees, two algorithms for constructing it, and a callback that the driver implements for encoding. The framework takes care of parallelizing the different passes, so the driver just has to split the encoding process into "stages" and implement just one part for each stage. The runtime changes are: Reviewed-by:
Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by:
Konstantin Seurer <konstantin.seurer@gmail.com> The radv changes are; Reviewed-by:
Friedrich Vock <friedrich.vock@gmx.de> Part-of: <!31433>
This is mostly adapted from radv's BVH building. This defines a common "IR" for BVH trees, two algorithms for constructing it, and a callback that the driver implements for encoding. The framework takes care of parallelizing the different passes, so the driver just has to split the encoding process into "stages" and implement just one part for each stage. The runtime changes are: Reviewed-by:
Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by:
Konstantin Seurer <konstantin.seurer@gmail.com> The radv changes are; Reviewed-by:
Friedrich Vock <friedrich.vock@gmx.de> Part-of: <!31433>
Loading