radv/bvh: Copy parent_id during updates on GFX12

Fixes: cc0dc4b5 ("radv: Store parent node IDs inside nodes on GFX12")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13567
Reviewed-by: Natalie Vock <natalie.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36898>
This commit is contained in:
Konstantin Seurer
2025-08-21 10:27:16 +02:00
committed by Marge Bot
parent 1de30797ae
commit 906b541567

View File

@@ -157,6 +157,7 @@ main()
if (!VK_BUILD_FLAG(RADV_BUILD_FLAG_UPDATE_IN_PLACE)) {
DEREF(dst_node).primitive_base_id = src_node.primitive_base_id;
DEREF(dst_node).internal_base_id = src_node.internal_base_id;
DEREF(dst_node).parent_id = src_node.parent_id;
}
DEREF(dst_node).origin = origin;
DEREF(dst_node).child_count_exponents = extent_exponents.x | (extent_exponents.y << 8) |