mesa/src/amd/vulkan/bvh
Friedrich Vock 684eee0748 radv/bvh: Prevent NANs when computing node cost
Otherwise the degenerate geometry workaround never triggers, leading to bad performance.

Fixes: 6f45c98b ("radv/bvh: Adjust sah cost based on depth")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20723>
2023-01-16 14:49:54 +00:00
..
build_helpers.h radv/rt: Refactor exiting PLOC 2022-12-18 21:24:45 +00:00
build_interface.h radv: Remove the old LBVH shader. 2022-12-01 02:20:48 +00:00
bvh.h radv/rt: Refactor exiting PLOC 2022-12-18 21:24:45 +00:00
converter_internal.comp radv: Handle nodes with 2 invalid children in internal node converter. 2022-12-01 02:20:48 +00:00
converter_leaf.comp radv: Convert instance bvh address to node in bvh build. 2022-11-19 14:24:36 +00:00
copy.comp radv: Convert instance bvh address to node in bvh build. 2022-11-19 14:24:36 +00:00
lbvh_generate_ir.comp radv: Add new LBVH shaders. 2022-12-01 02:20:48 +00:00
lbvh_main.comp radv: Add new LBVH shaders. 2022-12-01 02:20:48 +00:00
leaf.comp radv/bvh: Handle inactive triangles and AABBs 2022-12-19 09:37:56 +00:00
meson.build radv: Remove the old LBVH shader. 2022-12-01 02:20:48 +00:00
morton.comp radv: Use a struct for AABBs 2022-10-30 19:48:46 +00:00
ploc_internal.comp radv/bvh: Prevent NANs when computing node cost 2023-01-16 14:49:54 +00:00