From 906b541567aa49daf2bebd05f2705db8e6434792 Mon Sep 17 00:00:00 2001 From: Konstantin Seurer Date: Thu, 21 Aug 2025 10:27:16 +0200 Subject: [PATCH] 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 Part-of: --- src/amd/vulkan/bvh/update_gfx12.comp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/vulkan/bvh/update_gfx12.comp b/src/amd/vulkan/bvh/update_gfx12.comp index 72f8358f115..026beb4e0b2 100644 --- a/src/amd/vulkan/bvh/update_gfx12.comp +++ b/src/amd/vulkan/bvh/update_gfx12.comp @@ -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) |