radv: Consider inactive internal nodes never in the tree.
Since the parent doesn't know to signal it.
Fixes: e83e4fafc8
("radv: Only emit parents from parents that actually end up in the tree.")
Reviewed-By: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19033>
This commit is contained in:

committed by
Marge Bot

parent
8721323100
commit
243aa6b2ec
@@ -86,7 +86,7 @@ main(void)
|
||||
DEREF(dst_node).base.aabb[1][0] = total_bounds.max.x;
|
||||
DEREF(dst_node).base.aabb[1][1] = total_bounds.max.y;
|
||||
DEREF(dst_node).base.aabb[1][2] = total_bounds.max.z;
|
||||
DEREF(dst_node).in_final_tree = FINAL_TREE_UNKNOWN;
|
||||
DEREF(dst_node).in_final_tree = is_active ? FINAL_TREE_UNKNOWN : FINAL_TREE_NOT_PRESENT;
|
||||
|
||||
/* An internal node is considered inactive if it has no children. Set the resulting scratch node
|
||||
* id to RADV_BVH_INVALID_NODE for more internal nodes to become inactive.
|
||||
|
Reference in New Issue
Block a user