Konstantin Seurer
|
07c1b23022
|
radv/bvh: Implement compact encoding
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20818>
|
2023-02-24 15:14:40 +00:00 |
|
Konstantin Seurer
|
da4f498f6f
|
radv/bvh/encoder: Move dst_node initialization into the loop
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20818>
|
2023-02-24 15:14:40 +00:00 |
|
Konstantin Seurer
|
2792d012d2
|
radv/bvh/encode: Introduce is_root_node
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20818>
|
2023-02-24 15:14:40 +00:00 |
|
Konstantin Seurer
|
2c0e158ae2
|
radv/bvh/encode: Move bvh_offset NULL check to the top of the loop
NULL nodes don't have to be encoded and they also don't carry over any
information to their children.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20818>
|
2023-02-24 15:14:40 +00:00 |
|
Konstantin Seurer
|
4e87a01b93
|
radv/bvh: Replace is_final_tree with bvh_offset
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20818>
|
2023-02-24 15:14:40 +00:00 |
|
Konstantin Seurer
|
688f598237
|
radv/bvh/encode: Use the node type for identifying internal nodes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20818>
|
2023-02-24 15:14:40 +00:00 |
|
Konstantin Seurer
|
3eb646efd0
|
radv: Merge the leaf and internal converter
We have everything we need in the internal one already so we can just
encode leaf nodes there. Since this functionality isn't split anymore,
the shader was renamed to "encode".
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20768>
|
2023-01-25 15:54:03 +00:00 |
|