mesa/src/amd/vulkan/bvh
Connor Abbott 8fe3674df8 vulkan/runtime,radv: Add shared BVH building framework
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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31433>
2024-12-01 20:08:35 +01:00
..
.clang-format clang-format: Disable formatting by default 2023-08-13 16:48:49 +02:00
build_helpers.h vulkan/runtime,radv: Add shared BVH building framework 2024-12-01 16:08:06 +00:00
build_interface.h vulkan/runtime,radv: Add shared BVH building framework 2024-12-01 16:08:06 +00:00
bvh.h vulkan/runtime,radv: Add shared BVH building framework 2024-12-01 16:08:06 +00:00
copy.comp radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
encode.comp vulkan/runtime,radv: Add shared BVH building framework 2024-12-01 20:08:35 +01:00
header.comp radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
meson.build vulkan/runtime,radv: Add shared BVH building framework 2024-12-01 16:08:06 +00:00
update.comp vulkan/runtime,radv: Add shared BVH building framework 2024-12-01 16:08:06 +00:00